fig bug #1477756, inline and restrict keywords in C99

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-05-04 06:49:52 +00:00
commit 6b1607a19a

View file

@ -1278,6 +1278,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,"restrict") == 0) return(yylex());
if (strcmp(yytext,"explicit") == 0) return(EXPLICIT);
if (strcmp(yytext,"export") == 0) return(yylex());
if (strcmp(yytext,"typename") == 0) return (TYPENAME);
@ -1337,6 +1338,8 @@ int yylex(void) {
if (strcmp(yytext,"volatile") == 0) return(VOLATILE);
if (strcmp(yytext,"register") == 0) return(REGISTER);
if (strcmp(yytext,"inline") == 0) return(yylex());
if (strcmp(yytext,"restrict") == 0) return(yylex());
/* SWIG directives */
} else {