mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 05:10:55 +00:00
Update Parser.kt
This commit is contained in:
parent
578c6ef28c
commit
40b83eedee
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user