Re: Digest Number 492
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Thomas Beale wrote: > I agree, if we believe the comment in the strictest possible way, but > think of it in formal terms: if I call this routine before having done a > parse (as is could be done in a generic parser handler routine), it > returns True, meaning "syntax error occurred" even though this clearly > is not the case. Well, this error could be that no input has been provided yet ;-) I'd be tempted to write: syntax_error: BOOLEAN is -- Has last parsing been unsuccesful? do Result := yy_parsing_status = yyAborted end but I'm not sure what the consequences are. I don't want to break anything because of this modification. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com