fix line number problem with %inline{} and recognize the 'explicit' directive in constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
885247aef7
commit
6baa54ce6e
2 changed files with 6 additions and 3 deletions
|
|
@ -1260,7 +1260,7 @@ int yylex(void) {
|
|||
if (strcmp(yytext,"catch") == 0) return (CATCH);
|
||||
if (strcmp(yytext,"inline") == 0) return(yylex());
|
||||
if (strcmp(yytext,"mutable") == 0) return(yylex());
|
||||
if (strcmp(yytext,"explicit") == 0) return(yylex());
|
||||
if (strcmp(yytext,"explicit") == 0) return(EXPLICIT);
|
||||
if (strcmp(yytext,"export") == 0) return(yylex());
|
||||
if (strcmp(yytext,"typename") == 0) return (TYPENAME);
|
||||
if (strcmp(yytext,"template") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue