pre-computed identifer hashes

This commit is contained in:
2022-08-11 18:36:03 +01:00
parent 1430aefdf3
commit 00812e7a73
5 changed files with 34 additions and 27 deletions

View File

@@ -476,7 +476,7 @@ ParseRule* getRule(TokenType type) {
return &parseRules[type];
}
//static analasys
//constant folding
static bool calcStaticBinaryArithmetic(Node** nodeHandle) {
switch((*nodeHandle)->binary.opcode) {
case OP_ADDITION: