Check parser.rules instead of parser.tokens in Cpp.stg (fix misprint)

This commit is contained in:
Ivan Kochurkin 2020-12-29 16:28:53 +03:00
parent ca2bfedb2c
commit 92bee7d929
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ public:
};
<endif>
<if (parser.tokens)>
<if (parser.rules)>
enum {
<parser.rules: {r | Rule<r.name; format="cap"> = <r.index>}; separator=", ", wrap, anchor>
};