examples: bistromathic: demonstrate named references

* examples/c/bistromathic/parse.y: here.
This commit is contained in:
Akim Demaille
2020-02-12 00:18:47 +01:00
parent 11e2b755f0
commit e7a202d762
3 changed files with 14 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ This example demonstrates the best practices when using Bison.
- It uses a custom syntax error with location tracking, lookahead correction
and token internationalization.
- It enables debug trace support with formatting of semantic values.
- It uses named references instead of the traditional $1, $2, etc.
It also uses Flex to generate the scanner.