aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-08-29 23:02:26 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-08-29 23:02:26 +0300
commitb746d5746013cc2795df3e535085d23c25519c75 (patch)
tree8be8ce3c006e11dd547fd397dca85304bc00c3cd
parent7eeaeaf8bb21909f5690af39bab9b2036b3d8df4 (diff)
downloadnsu-b746d5746013cc2795df3e535085d23c25519c75.tar.gz
nsu-b746d5746013cc2795df3e535085d23c25519c75.tar.bz2
Bugfix
* lexer.l (gettoken,gettoken_v): Use T_EOL instead of literal ';'
-rw-r--r--lexer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexer.l b/lexer.l
index 68289fe..be4df7d 100644
--- a/lexer.l
+++ b/lexer.l
@@ -452,7 +452,7 @@ gettoken(int expect_type, int eof, char const *expect_str)
if (eof == EOF_OK) {
switch (rc) {
- case ';':
+ case T_EOL:
yyless(0);
return RDATA_PARSE_NONE;
@@ -558,7 +558,7 @@ gettoken_v(int *expect_types, int num_types, int eof, char const *expect_str,
if (eof == EOF_OK) {
switch (rc) {
- case ';':
+ case T_EOL:
yyless(0);
return RDATA_PARSE_NONE;

Return to:

Send suggestions and report system problems to the System administrator.