Added support for C++0x static_assert().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ee8bebb668
commit
72708ea173
4 changed files with 34 additions and 2 deletions
|
|
@ -634,6 +634,8 @@ int yylex(void) {
|
|||
return (CONSTEXPR);
|
||||
if (strcmp(yytext, "virtual") == 0)
|
||||
return (VIRTUAL);
|
||||
if (strcmp(yytext, "static_assert") == 0)
|
||||
return (STATIC_ASSERT);
|
||||
if (strcmp(yytext, "operator") == 0) {
|
||||
int nexttok;
|
||||
String *s = NewString("operator ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue