[antlr-interest] Modify content of the token

Terence Parr parrt at cs.usfca.edu
Tue Oct 23 01:27:45 PDT 2007


see the FAQ for stripping quotes; same problem.
Ter
On Oct 23, 2007, at 4:44 AM, Volodymyr Babiy wrote:

> Hi,
>
> I have a token such as  ;; SOME TEXT ;;
>
> This token appears in the tree as ;; SOME TEXT ;;
>
> I would like to strip semicolons from that token, allowing only  
> SOME TEXT to appear in the token. If some one can help me with this  
> task, I would greatly appreciate the help.
>
> Cheers,
> Volodymyr Babiy
>



More information about the antlr-interest mailing list