Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Warning while building #19

Open
Alainvdh opened this issue Jul 18, 2013 · 1 comment
Open

Warning while building #19

Alainvdh opened this issue Jul 18, 2013 · 1 comment

Comments

@Alainvdh
Copy link

while compiling i have a lot of warning
Is it normal or how can i avoid them ?

Thank you in advance
Alain

[INFO] --- exec-maven-plugin:1.1:exec (default) @ lexer-parser ---
[INFO] two-threaded DFA conversion
[INFO] two-threaded DFA conversion
[INFO] warning(200): C:\Java\eclipseIndigo32\workspace\porcelli\lexer-parser/src/main/antlr3/br/com/porcelli/parser/plsql/PLSQLParser.g:825:55: Decision can match input such as "SQL92_RESERVED_DECLARE" using multiple alternatives: 1, 3
[INFO] As a result, alternative(s) 3 were disabled for that input
[INFO] warning(200): C:\Java\eclipseIndigo32\workspace\porcelli\lexer-parser/src/main/antlr3/br/com/porcelli/parser/plsql/PLSQLParser.g:825:55: Decision can match input such as "INTRODUCER" using multiple alternatives: 1, 3
[INFO] As a result, alternative(s) 3 were disabled for that input
[INFO] warning(200): C:\Java\eclipseIndigo32\workspace\porcelli\lexer-parser/src/main/antlr3/br/com/porcelli/parser/plsql/PLSQLParser.g:825:55: Decision can match input such as "SQL92_RESERVED_WITH" using multiple alternatives: 1, 3
[INFO] As a result, alternative(s) 3 were disabled for that input
[INFO] warning(203): C:\Java\eclipseIndigo32\workspace\porcelli\lexer-parser/src/main/antlr3/br/com/porcelli/parser/plsql/PLSQLParser.g:825:55: Input such as "REGULAR_ID" is insufficiently covered with predicates at locations: alt 1: line 383:5 at BLOCK, alt 3: line 383:5 at BLOCK
[INFO] warning(200): C:\Java\eclipseIndigo32\workspace\porcelli\lexer-parser/src/main/antlr3/br/com/porcelli/parser/plsql/PLSQLParser.g:825:55: Decision can match input such as "REGULAR_ID" using multiple alternatives: 1, 3
[INFO] As a result, alternative(s) 3 were disabled for that input

@adrian-wang
Copy link

This is caused by ambiguity of the grammar. Antlr will take default action by choose the first possible alternative.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants