add initial C99 complex support + long double
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ca9e6834df
commit
2459ec99d1
5 changed files with 36 additions and 3 deletions
|
|
@ -1200,6 +1200,10 @@ int yylex(void) {
|
|||
if (strcmp(yytext,"class") == 0) {
|
||||
Swig_warning(WARN_PARSE_CLASS_KEYWORD,cparse_file,cparse_line, "class keyword used, but not in C++ mode.\n");
|
||||
}
|
||||
if (strcmp(yytext,"complex") == 0) {
|
||||
yylval.type = NewSwigType(T_COMPLEX);
|
||||
return(TYPE_COMPLEX);
|
||||
}
|
||||
}
|
||||
|
||||
/* Objective-C keywords */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue