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:
Marcelo Matus 2005-12-27 21:26:10 +00:00
commit 6baa54ce6e
2 changed files with 6 additions and 3 deletions

View file

@ -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) {