summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-06-13 08:11:22 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-06-13 15:20:56 +0200
commitc857ed4f72b83c561bfd42e5ff6c129ddb2017ee (patch)
tree2230aeead8af9340f965af82342c8131930804c6 /tests
parent1998606a904f0155079beda7a76489ff6940a7b6 (diff)
downloadbison-c857ed4f72b83c561bfd42e5ff6c129ddb2017ee.tar.gz
style: prefer 'FOO ()' to 'FOO' for function-like macros
* src/flex-scanner.h (STRING_GROW, STRING_FINISH, STRING_FREE): Make them function-like macros. Adjust dependencies.
Diffstat (limited to 'tests')
-rw-r--r--tests/input.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/input.at b/tests/input.at
index 1dda9841..d152de31 100644
--- a/tests/input.at
+++ b/tests/input.at
@@ -1690,8 +1690,8 @@ AT_CLEANUP
AT_SETUP([Unclosed constructs])
-# Bison's scan-gram.l once forgot to STRING_FINISH some unclosed
-# constructs, so they were prepended to whatever it STRING_GROW'ed
+# Bison's scan-gram.l once forgot to STRING_FINISH () some unclosed
+# constructs, so they were prepended to whatever it STRING_GROW ()'ed
# next. It also threw them away rather than returning them to the
# parser. The effect was confusing subsequent error messages.