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()