10 views
Skip to first unread message

Colin Fraizer

unread,
Dec 23, 2015, 12:24:28 PM12/23/15
to stringtempla...@googlegroups.com
When I run my code that uses StringTemplate, I see errors like this:

org\stringtemplate\v4\compiler\CodeGenerator.g: node from after line 51:0 no viable alternative at input 'UP'
org\stringtemplate\v4\compiler\CodeGenerator.g: node from after line 9:0 no viable alternative at input 'UP'
org\stringtemplate\v4\compiler\CodeGenerator.g: node from after line 14:0 no viable alternative at input 'UP'

Anyone know what I should do to debug such a thing?

[Except for occasional weirdness with the indenting, it seems to work fine.]

Monty Zukowski

unread,
Dec 23, 2015, 12:43:22 PM12/23/15
to stringtempla...@googlegroups.com
It can be picky about closing parens and braces. When I am scratching
my head over ST I often diff against my previous version that worked
and find that I left out some punctuation of some sort.
> --
> You received this message because you are subscribed to the Google Groups
> "stringtemplate-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to stringtemplate-dis...@googlegroups.com.
> To post to this group, send email to
> stringtempla...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/stringtemplate-discussion/CAGo9M35tfFaOccuA2rAh8Wxm%2ByD7cKm2HBnWR2gX7ztVb1h4-A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages