Added semicolon generation after some of the header decls.

Closes issue #40.
This commit is contained in:
Mike Lischke 2016-09-06 09:51:24 +02:00
parent 6f31e94cb9
commit b0fc8ea0da
1 changed files with 3 additions and 3 deletions

View File

@ -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>();"