forked from jasder/antlr
add missing semicolon to AltLabelStructDeclHeader
rules with alternative labels were generating Cpp header files with missing semicolons in declarations after PR#2806 removed duplicate semicolons. StructDeclHeader and AltLabelStructDeclHeader differed in how attributes were declared
This commit is contained in:
parent
6fed4cd522
commit
c128f0659b
|
@ -601,7 +601,7 @@ class <file.exportMacro> <struct.name> : public <currentRule.name; format = "cap
|
|||
public:
|
||||
<struct.name>(<currentRule.name; format = "cap">Context *ctx);
|
||||
|
||||
<if (attrs)><attrs: {a | <a>}; separator = "\n"><endif>
|
||||
<if (attrs)><attrs: {a | <a>;}; separator = "\n"><endif>
|
||||
<getters: {g | <g>}; separator = "\n">
|
||||
<dispatchMethods; separator = "\n">
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue