Remove debug output on 'Empty character constant' error
This commit is contained in:
parent
3055a21505
commit
d7e614f716
1 changed files with 0 additions and 2 deletions
|
|
@ -315,7 +315,6 @@ static int yylook(void) {
|
||||||
yylval.str = NewString(Scanner_text(scan));
|
yylval.str = NewString(Scanner_text(scan));
|
||||||
if (Len(yylval.str) == 0) {
|
if (Len(yylval.str) == 0) {
|
||||||
Swig_error(cparse_file, cparse_line, "Empty character constant\n");
|
Swig_error(cparse_file, cparse_line, "Empty character constant\n");
|
||||||
Printf(stdout,"%d\n", Len(Scanner_text(scan)));
|
|
||||||
}
|
}
|
||||||
return CHARCONST;
|
return CHARCONST;
|
||||||
|
|
||||||
|
|
@ -323,7 +322,6 @@ static int yylook(void) {
|
||||||
yylval.str = NewString(Scanner_text(scan));
|
yylval.str = NewString(Scanner_text(scan));
|
||||||
if (Len(yylval.str) == 0) {
|
if (Len(yylval.str) == 0) {
|
||||||
Swig_error(cparse_file, cparse_line, "Empty character constant\n");
|
Swig_error(cparse_file, cparse_line, "Empty character constant\n");
|
||||||
Printf(stdout,"%d\n", Len(Scanner_text(scan)));
|
|
||||||
}
|
}
|
||||||
return WCHARCONST;
|
return WCHARCONST;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue