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:
parent
299679cea4
commit
865a5d0c26
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ static void get_escape() {
|
|||
return;
|
||||
}
|
||||
if (c == 'e') {
|
||||
yytext[yylen-1] = '\e';
|
||||
yytext[yylen-1] = '\033';
|
||||
return;
|
||||
}
|
||||
if (c == '\'') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue