aboutsummaryrefslogtreecommitdiff
path: root/src/generator.c
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-01-31 02:51:42 -0500
committerMustafa Quraish <[email protected]>2022-01-31 02:51:42 -0500
commite48b7eced89f47b7259648405a4da461c2ea0853 (patch)
treebf355a50cd302290ad29305a0b583a5c86affc20 /src/generator.c
parentMake `Lexer_new` return a pointer instead of the object. (diff)
downloadcup-e48b7eced89f47b7259648405a4da461c2ea0853.tar.xz
cup-e48b7eced89f47b7259648405a4da461c2ea0853.zip
Fix offset for local variables
The stack actually grows downwards, so we need to account for that. The previous implementation was incorrect and exploded if you tried to use local variables in other functions except main.
Diffstat (limited to 'src/generator.c')
0 files changed, 0 insertions, 0 deletions