aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-06-07 01:21:19 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2023-06-07 01:21:19 +0100
commit29c82c6ca929e0f5eccfe038dea71177d814c6b7 (patch)
tree6b65112e9a6715a0a417e0c01c1517a914c8335b /gcc/expr.cc
parent4f0d4825fa489cc1875c94ab405a800a8d76e506 (diff)
downloadgcc-29c82c6ca929e0f5eccfe038dea71177d814c6b7.zip
gcc-29c82c6ca929e0f5eccfe038dea71177d814c6b7.tar.gz
gcc-29c82c6ca929e0f5eccfe038dea71177d814c6b7.tar.bz2
PR modula2/110019 Reported line numbers off by 1 when cpp invoked.
Fix off by one in m2.flex when the line number is set via cpp. gcc/m2/ChangeLog: PR modula2/110019 * gm2-compiler/SymbolKey.mod (SearchAndDo): Reformatted. (ForeachNodeDo): Reformatted. * gm2-compiler/SymbolTable.mod (AddListify): Join list with "," or "and" if more than one word is in the list. * m2.flex: Remove -1 from atoi(yytext) line number. gcc/testsuite/ChangeLog: PR modula2/110019 * gm2/cpp/fail/cpp-fail.exp: New test. * gm2/cpp/fail/foocpp.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions