summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/GCCInlineAsm.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
commit0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (patch)
treec1e05ec804c43aa5a8f5f21b0ed02d0587d29563 /compiler_and_linker/unsorted/GCCInlineAsm.c
parentaec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff)
downloadMWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz
MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip
getting closer
Diffstat (limited to 'compiler_and_linker/unsorted/GCCInlineAsm.c')
-rw-r--r--compiler_and_linker/unsorted/GCCInlineAsm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler_and_linker/unsorted/GCCInlineAsm.c b/compiler_and_linker/unsorted/GCCInlineAsm.c
index d0ae953..897df9b 100644
--- a/compiler_and_linker/unsorted/GCCInlineAsm.c
+++ b/compiler_and_linker/unsorted/GCCInlineAsm.c
@@ -31,7 +31,7 @@ void InlineAsm_SkipComment(void) {
static char gcc_parse_attribute(void) {
char ch;
- while (tk == TK_NEG7)
+ while (tk == TK_EOL)
tk = lex();
if (tk != '"')
@@ -57,7 +57,7 @@ static void gcc_parse_name(Boolean flag, char attribute) {
ENode *tempexpr;
Statement *stmt;
- while (tk == TK_NEG7)
+ while (tk == TK_EOL)
tk = lex();
if (tk != '(')
@@ -220,7 +220,7 @@ void InlineAsm_gcc_parse(void) {
gcc_name_list_index = -1;
cprep_eoltokens = 0;
- if (tk == TK_NEG7)
+ if (tk == TK_EOL)
tk = lex();
gcc_parse_output();