Typemod : TYPEMOD+; STRING : ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'::')+ ; TYPEMOD : '*'|'& The STRING lexer rule I did not change, but I did modify your arg and TYPEMOD rules and created a new parser rule typemod Oh yeah, I used the java target, so hopefully this will work for you Hope this helps, good luck.
Typemod : TYPEMOD+; STRING : ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'::')+ ; TYPEMOD : '*'|'&' ; The STRING lexer rule I did not change, but I did modify your arg and TYPEMOD rules and created a new parser rule typemod. Oh yeah, I used the java target, so hopefully this will work for you. Hope this helps, good luck.
Thanks for the response, this did work. I just don't understand how come... isn't it the same thing pretty much as what I had before? – Steve Jul 22 '10 at 13:53 I would agree with you, the two are the same.
The only difference is that with the working example a parser rule is optional while with the original code the lexer rule is optional. And really strange, for me AntlrWorks would not even let me debug your code. – WayneH Jul 22 '10 at 20:32.
Antlr is parsing skipping token because (without quotes):.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.