Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37649569
en ru br
ALT Linux repos
S:3.5.3-alt2_3jpp11

Group :: Development/Java
RPM: antlr3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0002-conversion-timeout.patch
Download


Description: Increase the default conversion timeout to avoid build failures when complex grammars are processed on slow architectures.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/tool/src/main/java/org/antlr/analysis/DFA.java
+++ b/tool/src/main/java/org/antlr/analysis/DFA.java
@@ -57,7 +57,7 @@
 	 */
 
 	/** Set to 0 to not terminate early (time in ms) */
-	public static int MAX_TIME_PER_DFA_CREATION = 1*1000;
+	public static int MAX_TIME_PER_DFA_CREATION = 30*1000;
 
 	/** How many edges can each DFA state have before a "special" state
 	 *  is created that uses IF expressions instead of a table?
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin