diff options
author | Karl Williamson <khw@cpan.org> | 2014-12-08 09:04:37 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-12-11 11:28:29 -0700 |
commit | 638c2f561aabf609b4278710e676fe8f8058bd38 (patch) | |
tree | 91aff7b604012a8f6b887c58d5d3e3faa71bc8a8 /toke.c | |
parent | 5e4ff68ea6a2e558cc4bbaf4e39ca0363240fdb4 (diff) | |
download | perl-638c2f561aabf609b4278710e676fe8f8058bd38.tar.gz |
toke.c: Use mnemonic rather than numeric
This was clear because the comment gave what the number meant, but if
the value ever changed, this would break.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10634,7 +10634,7 @@ Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags) } else if (yychar > 255) sv_catpvs(where_sv, "next token ???"); - else if (yychar == -2) { /* YYEMPTY */ + else if (yychar == YYEMPTY) { if (PL_lex_state == LEX_NORMAL || (PL_lex_state == LEX_KNOWNEXT && PL_lex_defer == LEX_NORMAL)) sv_catpvs(where_sv, "at end of line"); |