diff options
author | Karl Williamson <khw@cpan.org> | 2014-09-01 18:54:03 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-09-06 21:12:05 -0600 |
commit | 3da4c246d54e1970c6c140305135aea1f1745fbd (patch) | |
tree | a6f7f683e1de0efdcfc1a4c956112b536fd73a46 /regcomp.c | |
parent | deda9400516b26041cef43bb345b354992a5da95 (diff) | |
download | perl-3da4c246d54e1970c6c140305135aea1f1745fbd.tar.gz |
recomp.c: output given warning in only one pass
Otherwise, it will be output multiple times. This warning was untested
for as well.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10901,7 +10901,7 @@ S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, regnode** node_p, RExC_parse = endbrace; vFAIL("\\N{} in character class restricted to one character"); } - else { + else if (PASS2) { ckWARNreg(endchar, "Using just the first character returned by \\N{} in character class"); } } |