diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-10-01 10:28:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-10-01 10:28:06 +0000 |
commit | becd898e36e7a717d6a75ed7a80d3f0360092e65 (patch) | |
tree | 2d44fa70e0bb7e0cde53f461ca5744e4e68170e5 /perl_checker.src | |
parent | 8de8359e78937ceefe0a2b35136135bdf8754210 (diff) | |
download | perl-MDK-Common-becd898e36e7a717d6a75ed7a80d3f0360092e65.tar perl-MDK-Common-becd898e36e7a717d6a75ed7a80d3f0360092e65.tar.gz perl-MDK-Common-becd898e36e7a717d6a75ed7a80d3f0360092e65.tar.bz2 perl-MDK-Common-becd898e36e7a717d6a75ed7a80d3f0360092e65.tar.xz perl-MDK-Common-becd898e36e7a717d6a75ed7a80d3f0360092e65.zip |
don't suggest replacing "xxx" with 'xxx' in case of N("xxx")
Diffstat (limited to 'perl_checker.src')
-rw-r--r-- | perl_checker.src/lexer.mll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl_checker.src/lexer.mll b/perl_checker.src/lexer.mll index 39a3c02..15f9038 100644 --- a/perl_checker.src/lexer.mll +++ b/perl_checker.src/lexer.mll @@ -277,7 +277,8 @@ let ins_to_string t lexbuf = string_escape_useful := Left false ; let s, pos = ins t lexbuf in - (match !string_escape_useful, s with + if not !string_is_i18n then + (match !string_escape_useful, s with | Right c, [ _, [] ] -> let msg = if c = "\"" then |