Finish chapter 7

This commit is contained in:
Michael Smith
2022-07-06 16:06:50 +02:00
parent bdf3a3db34
commit 2d82c52466
3 changed files with 156 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
package com.craftinginterpreters.lox;
class RuntimeError extends RuntimeException {
final Token token;
RuntimeError(Token token, String message) {
super(message);
this.token = token;
}
}