[antlr-interest] Failure on OpenJDK on Debian

Sam Harwell sharwell at pixelminegames.com
Tue Mar 31 11:09:27 PDT 2009


Also, -Xconversiontimeout 0 disables the timer if that's the condition
you're testing.

Sam

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Terence Parr
Sent: Tuesday, March 31, 2009 1:05 PM
To: Ola Bini
Cc: antlr-interest at antlr.org
Subject: Re: [antlr-interest] Failure on OpenJDK on Debian

Hi Ola! Hmm...try -Xconversiontimeout 100000 on antlr and see if  
things change.
Lemme know.
T
On Mar 31, 2009, at 6:44 AM, Ola Bini wrote:

> Hi,
>
> I have a grammar that works well with several different Java 5 and  
> Java
> 6 environments on both Windows, Linux and MacOS X (including  
> SoyLatte).
> But I've just got a bug report that it blows up on OpenJDK build
> 1.6.0_0-b11, that can be installed in Debian.
> Has anyone else seen this? The errors look like this:
>
> generate.antlr:
>
>     [java] warning(200): ioke.g:269:5: Decision can match input such  
> as "'#'"
> using multiple alternatives: 1, 2
>     [java] As a result, alternative(s) 2 were disabled for that input
>     [java] error(201): ioke.g:269:5: The following alternatives can  
> never be
> matched: 2
>     [java]
>     [java] warning(209): ioke.g:323:1: Multiple token rules can  
> match input
> such as "'#'": T__38, Identifier, StringLiteral, RegexpLiteral,  
> LineComment
>     [java]
>     [java] As a result, token(s)
> Identifier,StringLiteral,RegexpLiteral,LineComment were disabled for  
> that input
>     [java] warning(209): ioke.g:202:1: Multiple token rules can  
> match input
> such as "'['": T__34, Identifier
>     [java]
>     [java] As a result, token(s) Identifier were disabled for that  
> input
>     [java] warning(209): ioke.g:202:1: Multiple token rules can  
> match input
> such as "'{'": T__36, Identifier
>     [java]
>     [java] As a result, token(s) Identifier were disabled for that  
> input
>     [java] Java Result: 1
>
> ? ant -version
> Apache Ant version 1.7.0 compiled on August 29 2007
>
> java -version
> java version "1.6.0_0"
> OpenJDK  Runtime Environment (build 1.6.0_0-b11)
> OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
>
> The grammar can be seen at
>
http://github.com/olabini/ioke/raw/9e2795c9c5f2b326c0cbb3dfb456f885b9625
ba2/src/grammar/ioke.g
>
>
> Cheers
>
> -- 
> Ola Bini (http://olabini.com)
> Ioke creator (http://ioke.org)
> JRuby Core Developer (http://jruby.org)
> Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
> Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
>
> "Yields falsehood when quined" yields falsehood when quined.
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address


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


More information about the antlr-interest mailing list