Fix %line handling.

svn path=/trunk/yasm/; revision=696
0.3
Peter Johnson 23 years ago
parent c0eee0f5b8
commit ed2bbe525c
  1. 4
      modules/parsers/nasm/nasm-token.re
  2. 4
      src/parsers/nasm/nasm-token.re

@ -420,10 +420,12 @@ linechg:
}
ws+ {
if (linechg_numcount == 2)
if (linechg_numcount == 2) {
state = LINECHG2;
goto linechg2;
}
goto linechg;
}
any {
if (WARN_ENABLED(WARN_UNRECOGNIZED_CHAR))

@ -420,10 +420,12 @@ linechg:
}
ws+ {
if (linechg_numcount == 2)
if (linechg_numcount == 2) {
state = LINECHG2;
goto linechg2;
}
goto linechg;
}
any {
if (WARN_ENABLED(WARN_UNRECOGNIZED_CHAR))

Loading…
Cancel
Save