Open alex opened 10 years ago
For error messages and everything else, we need good source position information. Right now the lexer captures it, but the AST throws it away. We need to keep that info around so we can do nice error messages.
For error messages and everything else, we need good source position information. Right now the lexer captures it, but the AST throws it away. We need to keep that info around so we can do nice error messages.