summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl_checker.src/lexer.mll3
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