Returning from calls 10.5.1

This commit is contained in:
nazrin 2025-06-02 00:06:31 +00:00
parent 10cc5e6e89
commit 7f4946f1e9
10 changed files with 196 additions and 23 deletions

View file

@ -30,7 +30,7 @@ class Scanner {
current++;
return true;
}
private void addToken(TokenType type, TValue literal = TValue.nil(0)){
private void addToken(TokenType type, TValue literal = TValue.nil(tvalueNil)){
string text = source[start .. current];
tokens ~= new Token(type, text, literal, line);
}