Check parser.rules instead of parser.tokens in Cpp.stg (fix misprint)
This commit is contained in:
parent
ca2bfedb2c
commit
92bee7d929
|
@ -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>
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue