From 40b83eedeebf7b49b955d412ed990ef3ff1ca4ad Mon Sep 17 00:00:00 2001 From: Violet White Date: Thu, 14 Sep 2023 20:57:24 -0700 Subject: [PATCH] Update Parser.kt --- parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt b/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt index 56114c5..5e09ec8 100644 --- a/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt +++ b/parser/src/main/kotlin/gay/pizza/pork/parser/Parser.kt @@ -230,7 +230,7 @@ class Parser(source: TokenSource, attribution: NodeAttribution) : } override fun parseImportDeclaration(): ImportDeclaration = guarded { - expect(TokenType.Import) + expect(TokenType.Import, TokenType.Impork, TokenType.PorkLoad) val form = parseSymbol() val components = oneAndContinuedBy(TokenType.Dot) { parseSymbol()