On Jun 27, 2011, at 8:05 PM, Mu Qiao wrote:

> Hi,
> 
> I gave a quick test and there are two problems:
> 1. I have to set my locale to English, otherwise an exception will be thrown:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/antlr/Tool

howdy!  How is a java.lang.ClassNotFoundException a locale issue? launching is

$ java org.antlr.Tool

> 2. After setting my locale to English, my grammar cannot get compiled:
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(28!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(28!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(26!=2)
> error(100): java_libbash.g:0:1: syntax error: antlr.print:
> MismatchedTreeNodeException(28!=2)

I'll check it out.
Ter

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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to