I was trying to preserve everything including whitespaces incase the
call to macro does not have a macro definition. But still I couldn't
find a proper solution. I'm not a Javacc expert and if someone can
give me a hint I'd really appreciate it.
Regards,
Supun.
Hi Supun,
Seems like the right approach.
To me this seems analogous to the way we handle references. If I understand
this right, the literal text for the reference is stored at parse time. If
the reference turns out to be null then ASTReference renders the invalid
reference text. Perhaps we
On 7/26/07, Jonathan Revusky [EMAIL PROTECTED] wrote:
Nathan Bubna wrote:
I believe your analysis is correct. The parser will have to treat
anything in the form of #foo( ... ) is a potential macro at parse
time, then leave the check for a matching macro to render time. If it
turns out to
Hi,
I was looking into the issue of including macros via the #parse
method. Following is the my understanding of the problem. The main
reason that causes this to be a hard problem to solve without touching
the parser implementation is described below.
At the moment when the parser encounter a