diff --git a/Parser.cs b/Parser.cs index 133b6e1..b4148f3 100644 --- a/Parser.cs +++ b/Parser.cs @@ -1424,6 +1424,7 @@ class Parser throw new Exception($"{tokens[index].region}: Expected name in dotted funcname starting at {startRegion}, got {tokens[index].type}"); } dottedNames.Add(((Token.StringData)tokens[index].data!).data); + index += 1; } if(index < tokens.Length && tokens[index].type == TokenType.Colon) {