diff options
| author | eunhhu <[email protected]> | 2026-09-28 09:14:03 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-28 09:14:03 +0100 |
| commit | e5716bd108039982d55bcd3b2da25e9f28b5825a (patch) | |
| tree | 736eaaad2f2c119c7997cecfb875fd4c60ed4b31 /compiler/compile.c | |
| parent | 25af3db3643c7a4e961b172104ca289f5923e83a (diff) | |
| download | aup-e5716bd108039982d55bcd3b2da25e9f28b5825a.tar.gz aup-e5716bd108039982d55bcd3b2da25e9f28b5825a.zip | |
Allow 16 records and 128 record fields
Diffstat (limited to 'compiler/compile.c')
| -rw-r--r-- | compiler/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/compile.c b/compiler/compile.c index bf3c882..af9899a 100644 --- a/compiler/compile.c +++ b/compiler/compile.c @@ -10,7 +10,7 @@ /* Limits and opcodes of Pure module format v5. */ enum { STATES = 32, INPUTS = 32, VIEWS = 64, HANDLERS = 64, CODE = 65535, STACK = 64, NAME = 32, JOINS = 8, DEPTH = 64, FIELDS = 64, COLLECTIONS = 1, CONSTANTS = 4096, CONSTANT_BYTES = 1 << 20, - RECORDS = 8, RECORD_FIELDS = 64, FIELDS_PER_RECORD = 16, FNS = 64, PARAMS = 8, MODULES = 9 }; + RECORDS = 16, RECORD_FIELDS = 128, FIELDS_PER_RECORD = 16, FNS = 64, PARAMS = 8, MODULES = 9 }; enum { CONST, LOAD, DT, ADD, SUB, MUL, DIV, NEG, LT, LE, GT, GE, EQ, NE, AND, OR, NOT, MIN, MAX, CLAMP, STORE, JZ, JMP, FIELD, DOC, DOC_SIZE, LEN, REPLACE, REPLY, REQUIRE, TEXT_CONST, TEXT_LOAD, TEXT_INPUT, NUM_TEXT, CONCAT, CHARS, LINES, TEXT_BYTES, |
