diff options
author | pommicket <pommicket@gmail.com> | 2022-02-07 16:03:31 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-02-07 16:03:31 -0500 |
commit | 0752c662912437528a40f82d0fdb7452b17fe68c (patch) | |
tree | 5901578da1be7f2712369695aa8daee4ea8e0a5f /05 | |
parent | cfe52e2cfe73fba560b0a73326710061bb4663f4 (diff) |
handle object macro definitions beginning with ( oops
Diffstat (limited to '05')
-rw-r--r-- | 05/preprocess.b | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/05/preprocess.b b/05/preprocess.b index 46a9509..71647ae 100644 --- a/05/preprocess.b +++ b/05/preprocess.b @@ -618,10 +618,10 @@ function translation_phase_4 pptoken_skip_spaces(&in) macro_name = in pptoken_skip(&in) - pptoken_skip_spaces(&in) c = *1in if c == '( goto function_macro_definition ; it's an object-like macro, e.g. #define X 47 + pptoken_skip_spaces(&in) b = look_up_object_macro(macro_name) if b != 0 goto macro_redefinition |