forked from jasder/antlr
fix failing tests generation
those 4 tests used \r as input although \r has no impact on what is being tested. Replaced or removed \r so tests can be generated and ran.
This commit is contained in:
parent
fe13b23628
commit
b09119e426
|
@ -1,21 +1,17 @@
|
||||||
TestType() ::= "Lexer"
|
TestType() ::= "Lexer"
|
||||||
|
|
||||||
Options ::= [
|
|
||||||
"Ignore": "Currently unable to generate the required CRLF input sequence."
|
|
||||||
]
|
|
||||||
|
|
||||||
Grammar ::= [
|
Grammar ::= [
|
||||||
"L": {<grammar("L")>}
|
"L": {<grammar("L")>}
|
||||||
]
|
]
|
||||||
|
|
||||||
Input() ::= "34<\u000D><\n> 34"
|
Input() ::= "34<\n> 34"
|
||||||
|
|
||||||
Output() ::= <<
|
Output() ::= <<
|
||||||
I
|
I
|
||||||
I
|
I
|
||||||
[@0,0:1='34',\<1>,1:0]
|
[@0,0:1='34',\<1>,1:0]
|
||||||
[@1,5:6='34',\<1>,2:1]
|
[@1,4:5='34',\<1>,2:1]
|
||||||
[@2,7:6='\<EOF>',\<-1>,2:3]<\n>
|
[@2,6:5='\<EOF>',\<-1>,2:3]<\n>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
Errors() ::= ""
|
Errors() ::= ""
|
||||||
|
|
|
@ -1,21 +1,17 @@
|
||||||
TestType() ::= "Lexer"
|
TestType() ::= "Lexer"
|
||||||
|
|
||||||
Options ::= [
|
|
||||||
"Ignore": "Currently unable to generate the required CRLF input sequence."
|
|
||||||
]
|
|
||||||
|
|
||||||
Grammar ::= [
|
Grammar ::= [
|
||||||
"L": {<grammar("L")>}
|
"L": {<grammar("L")>}
|
||||||
]
|
]
|
||||||
|
|
||||||
Input() ::= "34<\u000D><\n> 34"
|
Input() ::= "34<\n> 34"
|
||||||
|
|
||||||
Output() ::= <<
|
Output() ::= <<
|
||||||
I
|
I
|
||||||
I
|
I
|
||||||
[@0,0:1='34',\<1>,1:0]
|
[@0,0:1='34',\<1>,1:0]
|
||||||
[@1,5:6='34',\<1>,2:1]
|
[@1,4:5='34',\<1>,2:1]
|
||||||
[@2,7:6='\<EOF>',\<-1>,2:3]<\n>
|
[@2,6:5='\<EOF>',\<-1>,2:3]<\n>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
Errors() ::= ""
|
Errors() ::= ""
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
TestType() ::= "Lexer"
|
TestType() ::= "Lexer"
|
||||||
|
|
||||||
Options ::= [
|
|
||||||
"Ignore": "Currently unable to generate the required CRLF input sequence."
|
|
||||||
]
|
|
||||||
|
|
||||||
Grammar ::= [
|
Grammar ::= [
|
||||||
"L": {<grammar("L")>}
|
"L": {<grammar("L")>}
|
||||||
]
|
]
|
||||||
|
|
||||||
Input() ::= "34<\u000D> 34 a2 abc <\n> "
|
Input() ::= "34<\n> 34 a2 abc <\n> "
|
||||||
|
|
||||||
Output() ::= <<
|
Output() ::= <<
|
||||||
I
|
I
|
||||||
|
@ -16,10 +12,10 @@ I
|
||||||
ID
|
ID
|
||||||
ID
|
ID
|
||||||
[@0,0:1='34',\<1>,1:0]
|
[@0,0:1='34',\<1>,1:0]
|
||||||
[@1,4:5='34',\<1>,1:4]
|
[@1,4:5='34',\<1>,2:1]
|
||||||
[@2,7:8='a2',\<2>,1:7]
|
[@2,7:8='a2',\<2>,2:4]
|
||||||
[@3,10:12='abc',\<2>,1:10]
|
[@3,10:12='abc',\<2>,2:7]
|
||||||
[@4,18:17='\<EOF>',\<-1>,2:3]<\n>
|
[@4,18:17='\<EOF>',\<-1>,3:3]<\n>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
Errors() ::= ""
|
Errors() ::= ""
|
||||||
|
|
|
@ -1,19 +1,15 @@
|
||||||
TestType() ::= "Lexer"
|
TestType() ::= "Lexer"
|
||||||
|
|
||||||
Options ::= [
|
|
||||||
"Ignore": "Currently unable to generate the required CRLF input sequence."
|
|
||||||
]
|
|
||||||
|
|
||||||
Grammar ::= [
|
Grammar ::= [
|
||||||
"L": {<grammar("L")>}
|
"L": {<grammar("L")>}
|
||||||
]
|
]
|
||||||
|
|
||||||
Input() ::= "00<\u000D><\n>"
|
Input() ::= "00<\n>"
|
||||||
|
|
||||||
Output() ::= <<
|
Output() ::= <<
|
||||||
I
|
I
|
||||||
[@0,0:1='00',\<1>,1:0]
|
[@0,0:1='00',\<1>,1:0]
|
||||||
[@1,4:3='\<EOF>',\<-1>,2:0]<\n>
|
[@1,3:2='\<EOF>',\<-1>,2:0]<\n>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
Errors() ::= ""
|
Errors() ::= ""
|
||||||
|
|
Loading…
Reference in New Issue