Fixes for ISO C89
This commit is contained in:
parent
5cc4591ae7
commit
2ded25d138
3 changed files with 4 additions and 3 deletions
|
|
@ -955,6 +955,7 @@ int yylex(void) {
|
|||
|
||||
} else {
|
||||
/* SWIG directives */
|
||||
String *stext = 0;
|
||||
if (strcmp(yytext, "%module") == 0)
|
||||
return (MODULE);
|
||||
if (strcmp(yytext, "%insert") == 0)
|
||||
|
|
@ -1041,7 +1042,7 @@ int yylex(void) {
|
|||
* the operator.
|
||||
*/
|
||||
cparse_unknown_directive = NewString(yytext);
|
||||
String *stext = NewString(yytext + 1);
|
||||
stext = NewString(yytext + 1);
|
||||
Seek(stext,0,SEEK_SET);
|
||||
Setfile(stext,cparse_file);
|
||||
Setline(stext,cparse_line);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue