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:
parent
2e01562965
commit
e7fd659ae5
4 changed files with 110 additions and 65 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue