At 10:48 4/10/2009, =?koi8-r?B?4NLV28vJziDtycjBycw=?= wrote:
 >I generated parser grammar with -debug option, but nothing 
works.
 >I haven't understood how to customize parser init code - there 
are
 >no examples.

There are examples for the standard C parser init code.  Have a 
look at the downloads page.

 >There is antlr3DebugListenerNew() method, but i don't know how 
to
 >use it.

You don't need to; the runtime takes care of the debugging code 
internally.  Just use your normal startup code; when compiled with 
-debug, it will pause during startup waiting for ANTLRWorks to use 
the Debug Remote command.

Make sure you're using the correct ports; the port number was 
changed a while back, so it's possible that one or the other is 
using the wrong port number.  Try using the netstat command to 
check for listening ports after starting your parser, to see which 
port it's using.


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to