diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-18 10:00:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-18 10:00:24 +0000 |
commit | a26332a18f3c4ae288847ca552ce3c50f6d4957a (patch) | |
tree | 45652cba81c27d1bdcb39ba4916f49be688a3dec | |
parent | 49ee6a7546c7e022bca22e631e86b5b24b9e8267 (diff) | |
download | perl-MDK-Common-a26332a18f3c4ae288847ca552ce3c50f6d4957a.tar perl-MDK-Common-a26332a18f3c4ae288847ca552ce3c50f6d4957a.tar.gz perl-MDK-Common-a26332a18f3c4ae288847ca552ce3c50f6d4957a.tar.bz2 perl-MDK-Common-a26332a18f3c4ae288847ca552ce3c50f6d4957a.tar.xz perl-MDK-Common-a26332a18f3c4ae288847ca552ce3c50f6d4957a.zip |
don't internally keep \ for $ @ % { [
that way, generated pot doesn't contain \\@ when it should contain @
-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 83edc4d..6b73073 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -842,7 +842,7 @@ and string_escape = parse | ['b' 'f' 'a' 'r'] { string_escape_useful := Left true; next_s ("\\" ^ lexeme lexbuf) (Stack.pop next_rule) lexbuf } | ['$' '@' '%' '{' '['] { if !string_escape_useful = Left false then string_escape_useful := Right (lexeme lexbuf) ; - next_s ("\\" ^ lexeme lexbuf) (Stack.pop next_rule) lexbuf + next_s (lexeme lexbuf) (Stack.pop next_rule) lexbuf } | _ { let c = lexeme lexbuf in |