Skip to content

Commit

Permalink
Merge pull request #8 from najmiter/Updates
Browse files Browse the repository at this point in the history
Fix the includes in NASM
  • Loading branch information
najmiter authored Jan 17, 2024
2 parents 408153c + 01d6894 commit 4c6afe0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ const chittify = () => {
`${spaces}<span class="${klass}">${token}${after}</span>`
);
spaces = "";
if (after === "include") {
while (is_space(tokens[++i])) spaces += tokens[i];
token = tokens[i++] ?? "";
line_.push(
`${spaces}<span class="constant">${token}</span>`
);
}
already_been_added = true;
} else if (nikka_token === "include") {
line_.push(`${spaces}<span class="criticals">${token}</span>`);
Expand Down

0 comments on commit 4c6afe0

Please sign in to comment.