Nosfe likes unquoted file paths with backslashes in include statements :-(

This commit is contained in:
2021-07-16 12:20:36 +02:00
parent 84104c86cd
commit 213150e51f
4 changed files with 120 additions and 99 deletions
@@ -13,6 +13,11 @@ internal class OtherDirectivesTest : AbstractParsingTest() {
testGoodSyntax(testCase, " include \"exec/execbase.i\"\n")
}
@Test
internal fun include_file_unquoted(@MyTestCase testCase: ParsingTestExtension.IParsingTestCase) {
testGoodSyntax(testCase, "howto:incbin Convertedassets\\scroller_howto.raw.BPL\n")
}
@Test
internal fun if_defined_block(@MyTestCase testCase: ParsingTestExtension.IParsingTestCase) {
testGoodSyntax(testCase, "\tIFD DEBUG ; cause a crash\n illegal\n ENDC\n")