diff options
| author | bellard <bellard> | 2003-05-18 18:48:33 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2003-05-18 18:48:33 +0000 |
| commit | 638e666c42bcc3f65499baa0660d558a2b40ad8f (patch) | |
| tree | aecee10fcd007e7613e8698595278c776f601fbb /tcc.c | |
| parent | e58bda52cd4a12b6b2fae30588d19bd1528c70d8 (diff) | |
| download | tinycc-638e666c42bcc3f65499baa0660d558a2b40ad8f.tar.gz tinycc-638e666c42bcc3f65499baa0660d558a2b40ad8f.tar.bz2 | |
fixed zero arg macro parse
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3812,7 +3812,7 @@ static int macro_subst_tok(TokenString *tok_str, /* NOTE: empty args are allowed, except if no args */ for(;;) { /* handle '()' case */ - if (!args && tok == ')') + if (!args && !sa && tok == ')') break; if (!sa) error("macro '%s' used with too many args", |
