forked from jasder/antlr
Added semicolon generation after some of the header decls.
Closes issue #40.
This commit is contained in:
parent
6f31e94cb9
commit
b0fc8ea0da
|
@ -950,13 +950,13 @@ TokenDecl(t) ::= "<! Variable Declaration !>"
|
|||
TokenTypeDeclHeader(t) ::= "<! Local Variable !>"
|
||||
TokenTypeDecl(t) ::= "ssize_t <t.name> = 0;"
|
||||
|
||||
TokenListDeclHeader(t) ::= "std::vector\<Token *> <t.name>"
|
||||
TokenListDeclHeader(t) ::= "std::vector\<Token *> <t.name>;"
|
||||
TokenListDecl(t) ::= "<! Variable Declaration !>"
|
||||
|
||||
RuleContextDeclHeader(r) ::= "Ref\<<parser.name>::<r.ctxName>> <r.name>"
|
||||
RuleContextDeclHeader(r) ::= "Ref\<<parser.name>::<r.ctxName>> <r.name>;"
|
||||
RuleContextDecl(r) ::= "<! Variable Declaration !>"
|
||||
|
||||
RuleContextListDeclHeader(rdecl) ::= "std::vector\<Ref\<<rdecl.ctxName>>> <rdecl.name>"
|
||||
RuleContextListDeclHeader(rdecl) ::= "std::vector\<Ref\<<rdecl.ctxName>>> <rdecl.name>;"
|
||||
RuleContextListDecl(rdecl) ::= "<! Variable Declaration !>"
|
||||
|
||||
ContextTokenGetterDeclHeader(t) ::= "Ref\<tree::TerminalNode> <t.name>();"
|
||||
|
|
Loading…
Reference in New Issue