Article View: gnu.gcc.bug
Article #2802Bison and YYERROR
From: Robert Lupton
Date: Fri, 05 Jan 1990 21:25
Date: Fri, 05 Jan 1990 21:25
7 lines
588 bytes
588 bytes
Using a copy of bison dated 1986, I see that the macro YYERROR simply returns 1, rather than simulating an error (as claimed in both the bison and YACC manuals). Is this a bug, or am I missing something? Yacc correctly (I think) generates a goto yyerrorlab;. Robert
Technical Details
Message-ID:
<6044@uhccux.uhcc.hawaii.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!ames!uhccux!luptonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!ames!uhccux!lupton From: lupton@uhccux.uhcc.hawaii.edu (Robert Lupton) Newsgroups: gnu.gcc.bug Subject: Bison and YYERROR Message-ID: <6044@uhccux.uhcc.hawaii.edu> Date: 5 Jan 90 21:25:18 GMT Organization: University of Hawaii Lines: 6