Remove line-ending semicolons

This commit is contained in:
Will Faught 2016-06-04 21:47:48 -07:00
parent fc275721b8
commit 6a89c4529e
1 changed files with 4 additions and 4 deletions

View File

@ -210,9 +210,9 @@ func (l *<lexer.name>) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex
<if(!f.isRuleContext)> <if(!f.isRuleContext)>
var t *<f.name; format="cap">Context = nil var t *<f.name; format="cap">Context = nil
if localctx != nil { t = localctx.(*<f.ctxType>) \} if localctx != nil { t = localctx.(*<f.ctxType>) \}
return l.<f.name>_Sempred(t, predIndex); return l.<f.name>_Sempred(t, predIndex)
<else> <else>
return l.<f.name>_Sempred(localctx, predIndex); return l.<f.name>_Sempred(localctx, predIndex)
<endif>}; separator="\n"> <endif>}; separator="\n">
default: default:
panic("No registered predicate for:" + fmt.Sprint(ruleIndex)) panic("No registered predicate for:" + fmt.Sprint(ruleIndex))
@ -649,7 +649,7 @@ ContextTokenListIndexedGetterDecl(t) ::=<<
ContextRuleGetterDecl(r) ::=<< ContextRuleGetterDecl(r) ::=<<
<r.name; format="cap">() I<r.ctxName> { <r.name; format="cap">() I<r.ctxName> {
v := s.GetTypedRuleContext( reflect.TypeOf((*I<r.ctxName>)(nil)).Elem(),0); v := s.GetTypedRuleContext( reflect.TypeOf((*I<r.ctxName>)(nil)).Elem(),0)
if v == nil { if v == nil {
return nil return nil
@ -666,7 +666,7 @@ fail: ContextRuleListGetterDecl should never be called!
ContextRuleListIndexedGetterDecl(r) ::=<< ContextRuleListIndexedGetterDecl(r) ::=<<
<r.name; format="cap">(i int) []I<r.ctxName> { <r.name; format="cap">(i int) []I<r.ctxName> {
var ts []antlr.RuleContext; var ts []antlr.RuleContext
if i \< 0 { if i \< 0 {
ts = s.GetTypedRuleContexts( reflect.TypeOf((*I<r.ctxName>)(nil)).Elem()) ts = s.GetTypedRuleContexts( reflect.TypeOf((*I<r.ctxName>)(nil)).Elem())