From 5f3807b2c181758c4daa631e9463768b1ab85c8d Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 8 Jul 2022 20:35:05 -0400 Subject: [PATCH] Updated README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 88c273d..ff021a8 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ The PEG syntax is well described on page 2 in the [document](http://www.brynosau * `exp⇑label` or `exp^label` (Syntax sugar for `(exp / %recover(label))`) * `label { message "..." }` (Error message instruction) * `{ no_ast_opt }` (No AST node optimazation instruction) + +The following syntax is available with `CPPPEGLIB_SYMBOL_TABLE_SUPPORT`. + * `{ declare_symbol "..." }` (Declare symbol instruction) * `{ check_symbol "..." }` (Check symbol instruction) @@ -462,6 +465,8 @@ See actual usages in the [AST calculator example](https://github.com/yhirose/cpp Symbol Table ------------ +NOTE: This feature is available with `CPPPEGLIB_SYMBOL_TABLE_SUPPORT`. + Simple symbol table support is available with `declare_symbol` and `check_symbol` instructions. ```peg