6.2. Actions
An action is C code executed when bison matches a rule in the grammar. The
action must be a C compound statement, for example:
date: month '/' day '/' year { printf("date found"); } ;
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial