[stringtemplate-interest] Passing values into templates
Terence Parr
parrt at cs.usfca.edu
Sat Apr 19 22:26:57 PDT 2008
On Apr 19, 2008, at 4:32 PM, Ben Hood wrote:
>> Eg:
>> return <readBytes("length= next - 0x20")>;
>
> If I do this, i.e. return <readBytes(length="next - 0x20")>; then I
> run into this error:
>
> action parse error in group GenricReader line 7; template context is
> [decode]
> line 1:1: unexpected token: readBytes
problem is in template decode it appears. did you terminate it?
Ter
More information about the stringtemplate-interest
mailing list