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:
ericvergnaud 2015-06-21 00:44:58 +08:00 committed by parrt
parent fe13b23628
commit b09119e426
4 changed files with 13 additions and 29 deletions

View File

@ -1,21 +1,17 @@
TestType() ::= "Lexer"
Options ::= [
"Ignore": "Currently unable to generate the required CRLF input sequence."
]
Grammar ::= [
"L": {<grammar("L")>}
]
Input() ::= "34<\u000D><\n> 34"
Input() ::= "34<\n> 34"
Output() ::= <<
I
I
[@0,0:1='34',\<1>,1:0]
[@1,5:6='34',\<1>,2:1]
[@2,7:6='\<EOF>',\<-1>,2:3]<\n>
[@1,4:5='34',\<1>,2:1]
[@2,6:5='\<EOF>',\<-1>,2:3]<\n>
>>
Errors() ::= ""

View File

@ -1,21 +1,17 @@
TestType() ::= "Lexer"
Options ::= [
"Ignore": "Currently unable to generate the required CRLF input sequence."
]
Grammar ::= [
"L": {<grammar("L")>}
]
Input() ::= "34<\u000D><\n> 34"
Input() ::= "34<\n> 34"
Output() ::= <<
I
I
[@0,0:1='34',\<1>,1:0]
[@1,5:6='34',\<1>,2:1]
[@2,7:6='\<EOF>',\<-1>,2:3]<\n>
[@1,4:5='34',\<1>,2:1]
[@2,6:5='\<EOF>',\<-1>,2:3]<\n>
>>
Errors() ::= ""

View File

@ -1,14 +1,10 @@
TestType() ::= "Lexer"
Options ::= [
"Ignore": "Currently unable to generate the required CRLF input sequence."
]
Grammar ::= [
"L": {<grammar("L")>}
]
Input() ::= "34<\u000D> 34 a2 abc <\n> "
Input() ::= "34<\n> 34 a2 abc <\n> "
Output() ::= <<
I
@ -16,10 +12,10 @@ I
ID
ID
[@0,0:1='34',\<1>,1:0]
[@1,4:5='34',\<1>,1:4]
[@2,7:8='a2',\<2>,1:7]
[@3,10:12='abc',\<2>,1:10]
[@4,18:17='\<EOF>',\<-1>,2:3]<\n>
[@1,4:5='34',\<1>,2:1]
[@2,7:8='a2',\<2>,2:4]
[@3,10:12='abc',\<2>,2:7]
[@4,18:17='\<EOF>',\<-1>,3:3]<\n>
>>
Errors() ::= ""

View File

@ -1,19 +1,15 @@
TestType() ::= "Lexer"
Options ::= [
"Ignore": "Currently unable to generate the required CRLF input sequence."
]
Grammar ::= [
"L": {<grammar("L")>}
]
Input() ::= "00<\u000D><\n>"
Input() ::= "00<\n>"
Output() ::= <<
I
[@0,0:1='00',\<1>,1:0]
[@1,4:3='\<EOF>',\<-1>,2:0]<\n>
[@1,3:2='\<EOF>',\<-1>,2:0]<\n>
>>
Errors() ::= ""