Commit 3876101e authored by André Simon's avatar André Simon

fixed wrong state indication test

parent 1a66a44e
Pipeline #40139718 passed with stage
in 2 minutes and 36 seconds
......@@ -2349,7 +2349,7 @@ void CodeGenerator::runSyntaxTestcases(unsigned int column){
assertGroup=line[typeDescPos+2] - 'a' +1;
}
if ( (assertState!=_WS && stateTraceCurrent[column].state != assertState )
if ( (assertState!=_WS && stateTraceCurrent[column].state != assertState && !stateTraceCurrent[column].isWhiteSpace )
|| (assertState==_WS && !stateTraceCurrent[column].isWhiteSpace)
|| assertGroup != stateTraceCurrent[column].kwClass) {
ostringstream err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment