Move SymbolTable to wren_utils.

This commit is contained in:
Bob Nystrom
2014-01-01 20:57:58 -08:00
parent b750ece08b
commit a6fd0b2dd2
10 changed files with 169 additions and 160 deletions
+3
View File
@@ -59,6 +59,9 @@
// extra spaces added to handle arity, and another byte to terminate the string.
#define MAX_METHOD_SIGNATURE (MAX_METHOD_NAME + MAX_PARAMETERS + 1)
// TODO: Don't hardcode this.
#define MAX_SYMBOLS 256
// Assertions are used to validate program invariants. They indicate things the
// program expects to be true about its internal state during execution. If an
// assertion fails, there is a bug in Wren.