Next: , Previous: , Up: D Parsers   [Contents][Index]


10.2.7 Special Features for Use in D Actions

Here is a table of Bison constructs, variables and functions that are useful in actions.

Variable: $$

Acts like a variable that contains the semantic value for the grouping made by the current rule. See Actions.

Variable: $n

Acts like a variable that contains the semantic value for the nth component of the current rule. See Actions.

Function: yyerrok

Resume generating error messages immediately for subsequent syntax errors. This is useful primarily in error rules. See Error Recovery.