Use \033 instead of \e since the latter is not standard (Sun cc warns

about an anachronism).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2000-08-31 10:49:31 +00:00
commit 865a5d0c26

View file

@ -385,7 +385,7 @@ static void get_escape() {
return;
}
if (c == 'e') {
yytext[yylen-1] = '\e';
yytext[yylen-1] = '\033';
return;
}
if (c == '\'') {