[arch-commits] Commit in java-antlr3/trunk (PKGBUILD antlrworks-1.4.3-jdk7.patch)
Guillaume Alaux
guillaume at nymeria.archlinux.org
Sun Aug 18 11:35:57 UTC 2013
Date: Sunday, August 18, 2013 @ 13:35:57
Author: guillaume
Revision: 193189
PKGBUILD and file cleanup
Modified:
java-antlr3/trunk/PKGBUILD
Deleted:
java-antlr3/trunk/antlrworks-1.4.3-jdk7.patch
-----------------------------+
PKGBUILD | 2 +-
antlrworks-1.4.3-jdk7.patch | 41 -----------------------------------------
2 files changed, 1 insertion(+), 42 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-18 11:26:04 UTC (rev 193188)
+++ PKGBUILD 2013-08-18 11:35:57 UTC (rev 193189)
@@ -3,7 +3,7 @@
pkgname=java-${_libname}3
pkgver=3.5
pkgrel=1
-pkgdesc='Language tool that provides a framework for constructing grammatical parsers'
+pkgdesc='Language recognition tool providing a framework to build grammatical parsers'
arch=('any')
url='http://www.antlr.org/'
license=('BSD')
Deleted: antlrworks-1.4.3-jdk7.patch
===================================================================
--- antlrworks-1.4.3-jdk7.patch 2013-08-18 11:26:04 UTC (rev 193188)
+++ antlrworks-1.4.3-jdk7.patch 2013-08-18 11:35:57 UTC (rev 193189)
@@ -1,41 +0,0 @@
-
-diff -up antlrworks-1.4.3/src/aw/org/antlr/works/grammar/decisiondfa/DecisionDFAEngine.java.orig antlrworks-1.4.3/src/aw/org/antlr/works/grammar/decisiondfa/DecisionDFAEngine.java
---- antlrworks-1.4.3/src/aw/org/antlr/works/grammar/decisiondfa/DecisionDFAEngine.java.orig 2011-08-08 11:53:50.000000000 +0200
-+++ antlrworks-1.4.3/src/aw/org/antlr/works/grammar/decisiondfa/DecisionDFAEngine.java 2012-02-02 13:53:50.536902161 +0100
-@@ -106,13 +106,13 @@ public class DecisionDFAEngine {
- if(g == null) return;
-
- if(g.decisionsWhoseDFAsUsesSemPreds != null) {
-- for(DFA dfa : g.decisionsWhoseDFAsUsesSemPreds) {
-+ for(DFA dfa : (List<DFA>) g.decisionsWhoseDFAsUsesSemPreds) {
- usesSemPreds.add(dfa.getDecisionNumber());
- }
- }
-
- if(g.decisionsWhoseDFAsUsesSynPreds != null) {
-- for(DFA dfa : g.decisionsWhoseDFAsUsesSynPreds) {
-+ for(DFA dfa : (List<DFA>) g.decisionsWhoseDFAsUsesSynPreds) {
- usesSynPreds.add(dfa.getDecisionNumber());
- }
- }
-diff -up antlrworks-1.4.3/src/aw/org/antlr/works/grammar/engine/GrammarPropertiesImpl.java.orig antlrworks-1.4.3/src/aw/org/antlr/works/grammar/engine/GrammarPropertiesImpl.java
---- antlrworks-1.4.3/src/aw/org/antlr/works/grammar/engine/GrammarPropertiesImpl.java.orig 2011-08-08 11:53:50.000000000 +0200
-+++ antlrworks-1.4.3/src/aw/org/antlr/works/grammar/engine/GrammarPropertiesImpl.java 2012-02-02 13:54:24.610451213 +0100
-@@ -400,7 +400,7 @@ public class GrammarPropertiesImpl imple
- Grammar g = antlrEngine.getDefaultGrammar();
- if(g != null) {
- names.add(g.getRecognizerName());
-- for(Grammar gd : g.getDelegates()) {
-+ for(Grammar gd : (List<Grammar>) g.getDelegates()) {
- names.add(gd.getRecognizerName());
- }
- }
-@@ -408,7 +408,7 @@ public class GrammarPropertiesImpl imple
- Grammar lexer = antlrEngine.getLexerGrammar();
- if(lexer != null) {
- names.add(lexer.getRecognizerName());
-- for(Grammar gd : lexer.getDelegates()) {
-+ for(Grammar gd : (List<Grammar>) lexer.getDelegates()) {
- names.add(gd.getRecognizerName());
- }
- }
More information about the arch-commits
mailing list