Fixed S/R and R/R conflicts.

Fixed testcase for rvalue reference.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matevz Jekovec 2009-07-30 19:18:37 +00:00
commit e7fd659ae5
4 changed files with 110 additions and 65 deletions

View file

@ -595,10 +595,6 @@ int yylex(void) {
yylval.type = NewSwigType(T_BOOL);
return (TYPE_BOOL);
}
if (strcmp(yytext, "auto") == 0) {
yylval.type = NewSwigType(T_AUTO);
return (TYPE_AUTO);
}
/* Non ISO (Windows) C extensions */
if (strcmp(yytext, "__int8") == 0) {
@ -788,6 +784,8 @@ int yylex(void) {
return (yylex());
if (strcmp(yytext, "explicit") == 0)
return (EXPLICIT);
if (strcmp(yytext, "auto") == 0)
return (AUTO);
if (strcmp(yytext, "export") == 0)
return (yylex());
if (strcmp(yytext, "typename") == 0)