[antlr-interest] Updating to latest beta...
Hill, Robert
rhill03 at eds.com
Tue May 1 23:41:40 PDT 2007
Has caused the compiler to throw out all my calls to
toTemplates($x)
Has this function disappeared? There's no mention of in the readme (well, none that I spotted).
If it has, what is the preferred method of accumulating return templates? As in ...
codeBlock
@init {
StringTemplate varDeclBlock = templateLib.getInstanceOf("sqlVarDeclBlock");
}
: ^(SMELCODE (c+=statement[varDeclBlock])*) -> codeBlock(varDecls={varDeclBlock},code={toTemplates($c)})
;
Cheers!
/2ob
Robert Hill
Information Analyst (C/C++,C#,.NET,Java)
Agile Alliance Member
UKIMEA Technical Capabilities ADU
UKIMEA RABU
Application Services Field Operations EMEA
Hallamshire Business Park, 100 Napier St, Sheffield. S11 8HD
email: rhill03 at eds.com
Office: +44 114 291 1928
Mobile: +44 7903 185 516
This email contains information which is confidential and may be privileged. Unless you are the intended addressee (or authorised to receive for the addressee) you may not use, forward, copy or disclose to anyone this email or any information contained in this email. If you have received this email in error, please advise the sender by reply email immediately and delete this email.
Electronic Data Systems Ltd
Registered Office:, Lansdowne House, Berkeley Square, London W1J 6ER
Registered in England no: 53419
VAT number: 432 99 5915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070502/7c08e747/attachment.html
More information about the antlr-interest
mailing list