diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-11-17 06:15:08 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-11-17 13:08:53 -0800 |
commit | d3ee9aa5e84acbd1e77a76e786799789f0d2a637 (patch) | |
tree | 8e6b6f31726dfd6aabfaced95b0a889037a0ba7a /toke.c | |
parent | 4407f1b81529944846e9211adf563fc23fdc2f19 (diff) | |
download | perl-d3ee9aa5e84acbd1e77a76e786799789f0d2a637.tar.gz |
Sprinkle diag_listed_as
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6089,6 +6089,7 @@ Perl_yylex(pTHX) TOKEN(0); s++; if (PL_lex_brackets <= 0) + /* diag_listed_as: Unmatched right %s bracket */ yyerror("Unmatched right square bracket"); else --PL_lex_brackets; @@ -6267,6 +6268,7 @@ Perl_yylex(pTHX) rightbracket: s++; if (PL_lex_brackets <= 0) + /* diag_listed_as: Unmatched right %s bracket */ yyerror("Unmatched right curly bracket"); else PL_expect = (expectation)PL_lex_brackstack[--PL_lex_brackets]; @@ -9666,6 +9668,7 @@ S_pmflag(pTHX_ const char* const valid_flags, U32 * pmfl, char** s, char* charse yyerror(Perl_form(aTHX_ "Regexp modifiers \"/%c\" and \"/%c\" are mutually exclusive", *charset, c)); } else if (c == 'a') { + /* diag_listed_as: Regexp modifier "/%c" may appear a maximum of twice */ yyerror("Regexp modifier \"/a\" may appear a maximum of twice"); } else { |