This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 209482
Collapse All | Expand All

(-)a/cnd.modelimpl/build.xml (-9 / +9 lines)
Lines 76-82 Link Here
76
                <include name="libs.antlr3.devel/external/binaries-list"/>
76
                <include name="libs.antlr3.devel/external/binaries-list"/>
77
            </manifest>
77
            </manifest>
78
        </downloadbinaries>
78
        </downloadbinaries>
79
        <property name="antlr3.jar" location="${nb_all}/libs.antlr3.devel/external/antlr-3.3.jar"/>
79
        <property name="antlr3.jar" location="${nb_all}/libs.antlr3.devel/external/antlr-3.4.jar"/>
80
        <property name="antlr3.evaluator.grammar.dir" location="src/org/netbeans/modules/cnd/modelimpl/impl/services/evaluator/parser"/>
80
        <property name="antlr3.evaluator.grammar.dir" location="src/org/netbeans/modules/cnd/modelimpl/impl/services/evaluator/parser"/>
81
81
82
         <!-- New C++ Parser -->
82
         <!-- New C++ Parser -->
Lines 172-183 Link Here
172
        </java>
172
        </java>
173
173
174
        <replaceregexp file="${antlr.output.dir}/FortranParser.java"
174
        <replaceregexp file="${antlr.output.dir}/FortranParser.java"
175
            match='^public class FortranParser (.*)'
175
            match='^@SuppressWarnings.*'
176
            replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class FortranParser \1'
176
            replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})'
177
            flags="mg" />
177
            flags="mg" />
178
        <replaceregexp file="${antlr.output.dir}/FortranParser_FortranParser2.java"
178
        <replaceregexp file="${antlr.output.dir}/FortranParser_FortranParser2.java"
179
            match='^public class FortranParser_FortranParser2 (.*)'
179
            match='^@SuppressWarnings.*'
180
            replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class FortranParser_FortranParser2 \1'
180
            replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})'
181
            flags="mg" />
181
            flags="mg" />
182
182
183
        <!-- CXX Parser -->
183
        <!-- CXX Parser -->
Lines 195-202 Link Here
195
        </java>
195
        </java>
196
196
197
        <replaceregexp file="${antlr3.cppparser.output.dir}/CXXParser.java"
197
        <replaceregexp file="${antlr3.cppparser.output.dir}/CXXParser.java"
198
            match='^public class CXXParser (.*)'
198
            match='^@SuppressWarnings.*'
199
            replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class CXXParser \1'
199
            replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})'
200
            flags="mg" />
200
            flags="mg" />
201
201
202
202
Lines 215-222 Link Here
215
        </java>
215
        </java>
216
216
217
        <replaceregexp file="${antlr3.evaluator.output.dir}/EvaluatorParser.java"
217
        <replaceregexp file="${antlr3.evaluator.output.dir}/EvaluatorParser.java"
218
            match='^public class EvaluatorParser (.*)'
218
            match='^@SuppressWarnings.*'
219
            replace='@SuppressWarnings({"unchecked", "cast", "fallthrough"}) public class EvaluatorParser \1'
219
            replace='@SuppressWarnings({"all", "warnings", "unchecked", "cast", "fallthrough"})'
220
            flags="mg" />
220
            flags="mg" />
221
221
222
        <delete file="${antlr3.evaluator.output.dir}/EvaluatorLexer.java" />
222
        <delete file="${antlr3.evaluator.output.dir}/EvaluatorLexer.java" />
(-)a/libs.antlr3.devel/build.xml (-1 / +1 lines)
Lines 47-52 Link Here
47
<!-- for some information on what you could do (e.g. targets to override). -->
47
<!-- for some information on what you could do (e.g. targets to override). -->
48
<!-- If you delete this file and reopen the project it will be recreated. -->
48
<!-- If you delete this file and reopen the project it will be recreated. -->
49
<project name="libs.antlr3.devel" default="netbeans" basedir=".">
49
<project name="libs.antlr3.devel" default="netbeans" basedir=".">
50
    <description>Builds, tests, and runs the project antlr33.</description>
50
    <description>Builds, tests, and runs the project antlr34.</description>
51
    <import file="../nbbuild/templates/projectized.xml"/>
51
    <import file="../nbbuild/templates/projectized.xml"/>
52
</project>
52
</project>
(-)a/libs.antlr3.devel/external/antlr-3.3-license.txt (-39 lines)
Lines 1-39 Link Here
1
Name: Antlr
2
Version: 3.3
3
Description: ANother Tool for Language Recognition, 
4
is a language tool that provides a framework for constructing recognizers, 
5
interpreters, compilers, and translators from grammatical descriptions.
6
License: BSD License
7
OSR: 13311
8
Origin: http://www.antlr.org
9
10
11
 [The "BSD license"]
12
 Copyright (c) 2010 Terence Parr
13
 Maven Plugin - Copyright (c) 2009      Jim Idle
14
15
 All rights reserved.
16
17
 Redistribution and use in source and binary forms, with or without
18
 modification, are permitted provided that the following conditions
19
 are met:
20
 1. Redistributions of source code must retain the above copyright
21
    notice, this list of conditions and the following disclaimer.
22
 2. Redistributions in binary form must reproduce the above copyright
23
    notice, this list of conditions and the following disclaimer in the
24
    documentation and/or other materials provided with the distribution.
25
 3. The name of the author may not be used to endorse or promote products
26
    derived from this software without specific prior written permission.
27
28
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
29
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
30
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
31
 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
32
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
33
 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
37
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
39
(-)a/libs.antlr3.devel/external/antlr-3.4-license.txt (+39 lines)
Line 0 Link Here
1
Name: Antlr
2
Version: 3.4
3
Description: ANother Tool for Language Recognition, 
4
is a language tool that provides a framework for constructing recognizers, 
5
interpreters, compilers, and translators from grammatical descriptions.
6
License: BSD License
7
OSR: 13311
8
Origin: http://www.antlr.org
9
10
11
 [The "BSD license"]
12
 Copyright (c) 2010 Terence Parr
13
 Maven Plugin - Copyright (c) 2009      Jim Idle
14
15
 All rights reserved.
16
17
 Redistribution and use in source and binary forms, with or without
18
 modification, are permitted provided that the following conditions
19
 are met:
20
 1. Redistributions of source code must retain the above copyright
21
    notice, this list of conditions and the following disclaimer.
22
 2. Redistributions in binary form must reproduce the above copyright
23
    notice, this list of conditions and the following disclaimer in the
24
    documentation and/or other materials provided with the distribution.
25
 3. The name of the author may not be used to endorse or promote products
26
    derived from this software without specific prior written permission.
27
28
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
29
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
30
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
31
 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
32
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
33
 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
37
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
39
(-)a/libs.antlr3.devel/external/binaries-list (-1 / +1 lines)
Line 1 Link Here
1
11B1CFD9AB9B7BB572F272CD1972693D1E9721E9 antlr-3.3.jar
1
5CAB59D859CAA6598E28131D30DD2E89806DB57F antlr-3.4.jar
(-)a/libs.antlr3.devel/nbproject/project.properties (-3 / +3 lines)
Lines 43-51 Link Here
43
43
44
is.autoload=true
44
is.autoload=true
45
javac.source=1.6
45
javac.source=1.6
46
release.external/antlr-3.3.jar=modules/ext/antlr-3.3.jar
46
release.external/antlr-3.4.jar=modules/ext/antlr-3.4.jar
47
47
48
license.file=../external/antlr-3.3-license.txt
48
license.file=../external/antlr-3.4-license.txt
49
nbm.homepage=http://www.antlr.org/
49
nbm.homepage=http://www.antlr.org/
50
sigtest.gen.fail.on.error=false
50
sigtest.gen.fail.on.error=false
51
spec.version.base=1.2
51
spec.version.base=1.3
(-)a/libs.antlr3.devel/nbproject/project.xml (-2 / +2 lines)
Lines 75-82 Link Here
75
                <package>org.antlr.tool</package>
75
                <package>org.antlr.tool</package>
76
            </public-packages>
76
            </public-packages>
77
            <class-path-extension>
77
            <class-path-extension>
78
                <runtime-relative-path>ext/antlr-3.3.jar</runtime-relative-path>
78
                <runtime-relative-path>ext/antlr-3.4.jar</runtime-relative-path>
79
                <binary-origin>external/antlr-3.3.jar</binary-origin>
79
                <binary-origin>external/antlr-3.4.jar</binary-origin>
80
            </class-path-extension>
80
            </class-path-extension>
81
        </data>
81
        </data>
82
    </configuration>
82
    </configuration>
(-)a/libs.antlr3.runtime/build.xml (-1 / +1 lines)
Lines 47-52 Link Here
47
<!-- for some information on what you could do (e.g. targets to override). -->
47
<!-- for some information on what you could do (e.g. targets to override). -->
48
<!-- If you delete this file and reopen the project it will be recreated. -->
48
<!-- If you delete this file and reopen the project it will be recreated. -->
49
<project name="libs.antlr3.runtime" default="netbeans" basedir=".">
49
<project name="libs.antlr3.runtime" default="netbeans" basedir=".">
50
    <description>Builds, tests, and runs the lib antlr33 runtime.</description>
50
    <description>Builds, tests, and runs the lib antlr34 runtime.</description>
51
    <import file="../nbbuild/templates/projectized.xml"/>
51
    <import file="../nbbuild/templates/projectized.xml"/>
52
</project>
52
</project>
(-)a/libs.antlr3.runtime/external/antlr-3.3-license.txt (-39 lines)
Lines 1-39 Link Here
1
Name: Antlr
2
Version: 3.3
3
Description: ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions.
4
License: BSD License
5
OSR: 13311
6
Origin: http://www.antlr.org
7
Files: antlr-runtime-3.3.jar
8
9
 [The "BSD license"]
10
 Copyright (c) 2010 Terence Parr
11
 Maven Plugin - Copyright (c) 2009      Jim Idle
12
13
 All rights reserved.
14
15
 Redistribution and use in source and binary forms, with or without
16
 modification, are permitted provided that the following conditions
17
 are met:
18
 1. Redistributions of source code must retain the above copyright
19
    notice, this list of conditions and the following disclaimer.
20
 2. Redistributions in binary form must reproduce the above copyright
21
    notice, this list of conditions and the following disclaimer in the
22
    documentation and/or other materials provided with the distribution.
23
 3. The name of the author may not be used to endorse or promote products
24
    derived from this software without specific prior written permission.
25
26
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
27
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
28
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
29
 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
30
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
31
 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
37
38
39
(-)a/libs.antlr3.runtime/external/antlr-3.4-license.txt (+39 lines)
Line 0 Link Here
1
Name: Antlr
2
Version: 3.4
3
Description: ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions.
4
License: BSD License
5
OSR: 13311
6
Origin: http://www.antlr.org
7
Files: antlr-runtime-3.4.jar
8
9
 [The "BSD license"]
10
 Copyright (c) 2010 Terence Parr
11
 Maven Plugin - Copyright (c) 2009      Jim Idle
12
13
 All rights reserved.
14
15
 Redistribution and use in source and binary forms, with or without
16
 modification, are permitted provided that the following conditions
17
 are met:
18
 1. Redistributions of source code must retain the above copyright
19
    notice, this list of conditions and the following disclaimer.
20
 2. Redistributions in binary form must reproduce the above copyright
21
    notice, this list of conditions and the following disclaimer in the
22
    documentation and/or other materials provided with the distribution.
23
 3. The name of the author may not be used to endorse or promote products
24
    derived from this software without specific prior written permission.
25
26
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
27
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
28
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
29
 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
30
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
31
 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
37
38
39
(-)a/libs.antlr3.runtime/external/binaries-list (-1 / +1 lines)
Line 1 Link Here
1
B7ADB35C7BC16AFA8AE49C4D61F87E607BDADB41 antlr-runtime-3.3.jar
1
4E74C6BE42FE89871A878C7C4D6158F21A6D8010 antlr-runtime-3.4.jar
(-)a/libs.antlr3.runtime/nbproject/project.properties (-3 / +3 lines)
Lines 43-51 Link Here
43
43
44
is.autoload=true
44
is.autoload=true
45
javac.source=1.6
45
javac.source=1.6
46
release.external/antlr-runtime-3.3.jar=modules/ext/antlr-runtime-3.3.jar
46
release.external/antlr-runtime-3.4.jar=modules/ext/antlr-runtime-3.4.jar
47
47
48
license.file=../external/antlr-3.3-license.txt
48
license.file=../external/antlr-3.4-license.txt
49
nbm.homepage=http://www.antlr.org/
49
nbm.homepage=http://www.antlr.org/
50
sigtest.gen.fail.on.error=false
50
sigtest.gen.fail.on.error=false
51
spec.version.base=1.8.0
51
spec.version.base=1.9.0
(-)a/libs.antlr3.runtime/nbproject/project.xml (-2 / +2 lines)
Lines 55-62 Link Here
55
                <package>org.antlr.runtime.tree</package>
55
                <package>org.antlr.runtime.tree</package>
56
            </public-packages>
56
            </public-packages>
57
            <class-path-extension>
57
            <class-path-extension>
58
                <runtime-relative-path>ext/antlr-runtime-3.3.jar</runtime-relative-path>
58
                <runtime-relative-path>ext/antlr-runtime-3.4.jar</runtime-relative-path>
59
                <binary-origin>external/antlr-runtime-3.3.jar</binary-origin>
59
                <binary-origin>external/antlr-runtime-3.4.jar</binary-origin>
60
            </class-path-extension>
60
            </class-path-extension>
61
        </data>
61
        </data>
62
    </configuration>
62
    </configuration>

Return to bug 209482