d6bdd08002
the typechecker project can collect all the top level types from a file, which is pretty cool I think (except for pointers, those aren't implemented yet...)
10 lines
235 B
C#
10 lines
235 B
C#
using Antlr4.Runtime;
|
|
|
|
namespace meowlang.parser;
|
|
|
|
public class InvalidArrayLengthException : MeowVisitorException
|
|
{
|
|
public InvalidArrayLengthException(IToken token) : base(token, $"invalid array size `{token.Text}`")
|
|
{
|
|
}
|
|
} |