sdatta schrieb:
Hi,
I m new to bison programming.
I m getting the following error: cpp1.y:34.39-40: $4 of `ctrlln' has no
declared type.
I dont understand why this is occuring!

The embedded actions are counted too, so "$4" refers to "ID". I think you want to refer to "replst" which is represented by "$6".

See http://www.gnu.org/software/bison/manual/html_node/Mid_002dRule-Actions.html#Mid_002dRule-Actions for more details.

Regards
Daniel


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to