public
/
piyacc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a46ef
)
Fix location for one error message
author
Nick Downing
<nick@ndcode.org>
Thu, 21 Dec 2023 07:51:00 +0000
(18:51 +1100)
committer
Nick Downing
<nick@ndcode.org>
Thu, 21 Dec 2023 07:51:00 +0000
(18:51 +1100)
ndcode/piyacc/scan-gram.l
patch
|
blob
|
history
diff --git
a/ndcode/piyacc/scan-gram.l
b/ndcode/piyacc/scan-gram.l
index
ee7d75c
..
591b24c
100644
(file)
--- a/
ndcode/piyacc/scan-gram.l
+++ b/
ndcode/piyacc/scan-gram.l
@@
-95,7
+95,7
@@
eqopt ([[:space:]]*=)?
<INITIAL,SC_AFTER_IDENTIFIER,SC_BRACKETED_ID,SC_RETURN_BRACKETED_ID>
{
/* Comments and white space. */
- "," state.complain(
state.
loc, state.Wother, 'stray \',\' treated as white space')
+ "," state.complain(
y_tab.yyl
loc, state.Wother, 'stray \',\' treated as white space')
[ \f\n\t\v] |
"//".* #continue
"/*" {