diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-08-29 23:02:26 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-08-29 23:02:26 +0300 |
commit | b746d5746013cc2795df3e535085d23c25519c75 (patch) | |
tree | 8be8ce3c006e11dd547fd397dca85304bc00c3cd | |
parent | 7eeaeaf8bb21909f5690af39bab9b2036b3d8df4 (diff) | |
download | nsu-b746d5746013cc2795df3e535085d23c25519c75.tar.gz nsu-b746d5746013cc2795df3e535085d23c25519c75.tar.bz2 |
Bugfix
* lexer.l (gettoken,gettoken_v): Use T_EOL instead of literal ';'
-rw-r--r-- | lexer.l | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |