yyparse returns nonzero value, abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13655
138bc75d-0d04-0410-961f-
82ee72b054a4
char *string;
{
lexptr = string;
-
- if (lexptr == 0 || *lexptr == 0) {
- error ("empty #if expression");
- return 0; /* don't include the #if group */
- }
/* if there is some sort of scanning error, just return 0 and assume
the parsing routine has printed an error message somewhere.
if (setjmp (parse_return_error))
return 0;
- if (yyparse ())
- return 0; /* actually this is never reached
- the way things stand. */
+ if (yyparse () != 0)
+ abort ();
+
if (*lexptr != '\n')
error ("Junk after end of expression.");