
|
If you were logged in you would be able to see more operations.
|
|
|
ANTLR v3
Created: 06/Nov/06 06:11 PM
Updated: 10/Nov/06 05:41 PM
|
|
| Component/s: |
ANTLR Core
|
| Affects Version/s: |
3.0
|
| Fix Version/s: |
3.0b5
|
|
|
fragment
SL_COMMENT
: '//' (options {greedy=false;} : .)* '\r'? '\n'
;
ANTLR.g:447:42: Decision can match input such as "'\r'" using multiple alternatives: 1, 2
Seems the greedy=false should fix it.
|
|
Description
|
fragment
SL_COMMENT
: '//' (options {greedy=false;} : .)* '\r'? '\n'
;
ANTLR.g:447:42: Decision can match input such as "'\r'" using multiple alternatives: 1, 2
Seems the greedy=false should fix it. |
Show » |
|
A : 'a'
| .
;
Even (options {greedy=false;} : 'x'|.)* works now.