Bugfix: Uppercase hexadecimal literals were not parsed (JFlex bug?)

This commit is contained in:
2021-07-31 14:12:58 +02:00
parent 27b7593de8
commit ce3cdbbed6
6 changed files with 194 additions and 175 deletions
@@ -48,6 +48,11 @@ internal class ExpressionsTest : AbstractParsingTest() {
testGoodSyntax(testCase, " dc.w *-.label\n")
}
@Test
internal fun uppercase_hexadecimal_string(@MyTestCase testCase: ParsingTestExtension.IParsingTestCase) {
testGoodSyntax(testCase, " move.l #\$DEADBEEF,d0\n")
}
@Test
internal fun if_with_single_equals_comparison(@MyTestCase testCase: ParsingTestExtension.IParsingTestCase) {
testGoodSyntax(testCase, " IF DEBUG=1\n")