diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-30 21:10:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-30 21:10:49 +0000 |
commit | 0b850271c67750aa15d413152863286a0b949e56 (patch) | |
tree | fde2d9a6d8cb6fd374d862669044af85c9364d1a /perl_checker.src | |
parent | 8465c1513276ddfab59ed7578049cebf167b71fc (diff) | |
download | perl-MDK-Common-0b850271c67750aa15d413152863286a0b949e56.tar perl-MDK-Common-0b850271c67750aa15d413152863286a0b949e56.tar.gz perl-MDK-Common-0b850271c67750aa15d413152863286a0b949e56.tar.bz2 perl-MDK-Common-0b850271c67750aa15d413152863286a0b949e56.tar.xz perl-MDK-Common-0b850271c67750aa15d413152863286a0b949e56.zip |
warning: no need to escape " in /xxx \" xxx/
Diffstat (limited to 'perl_checker.src')
-rw-r--r-- | perl_checker.src/lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll index ac04193..71d6399 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -828,7 +828,7 @@ and re_string_escape = parse | "x{" [^ '}']* '}' { hex_in_string lexbuf next_rule (skip_n_char_ 2 1 (lexeme lexbuf)) } | 'x' [^ '{'] _ { hex_in_string lexbuf next_rule (skip_n_char 1 (lexeme lexbuf)) } | '\n' { die lexbuf "do not use \"\\\" before end-of-line, it's useless and generally bad" } -| ['r' 'b' 'f' '$' '@' '%' '"' 's' 'S' 'd' 'D' 'w' 'W' 'Q' 'E' 'b' '.' '*' '+' '?' '[' ']' '(' ')' '|' '{' '}' '-'] { +| ['r' 'b' 'f' '$' '@' '%' 's' 'S' 'd' 'D' 'w' 'W' 'Q' 'E' 'b' '.' '*' '+' '?' '[' ']' '(' ')' '|' '{' '}' '-'] { next_s ("\\" ^ lexeme lexbuf) (Stack.pop next_rule) lexbuf } | _ { |