diff --git a/Source/SWIG1.1/scanner.cxx b/Source/SWIG1.1/scanner.cxx index 2be9f5022..139ace2aa 100644 --- a/Source/SWIG1.1/scanner.cxx +++ b/Source/SWIG1.1/scanner.cxx @@ -385,7 +385,7 @@ static void get_escape() { return; } if (c == 'e') { - yytext[yylen-1] = '\e'; + yytext[yylen-1] = '\033'; return; } if (c == '\'') {