Hi,
I'm trying to convert my tree grammar from JAVA to C and running into
issue with code generation. I'm targeting string templates as the output
type and run into the following error:
1>Translating to tree parser.
1> : error 10 : internal error: no such group file ST.stg
1>Project : error PRJ0019: A tool returned an error code from
"Translating to tree parser."
Are string template outputs supported in the C code generator? I can't
find a corresponding ST.stg in the codegen/templates/C
Specifying C - Runtime:
tree grammar RazorTree;
options{
language = C;
tokenVocab = Razor;
ASTLabelType = pANTLR3_BASE_TREE;
output = template;
}
Original JAVA - Runtime:
options{
tokenVocab = Razor;
ASTLabelType = CommonTree;
output = template;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address