The Lambda Lab
/
projects
/
ez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aac33d
)
Fixed bug in global variable referencing.
author
plugd
<plugd@thelambdalab.xyz>
Fri, 12 Nov 2021 13:50:55 +0000
(14:50 +0100)
committer
plugd
<plugd@thelambdalab.xyz>
Fri, 12 Nov 2021 13:50:55 +0000
(14:50 +0100)
ez.el
patch
|
blob
|
history
diff --git
a/ez.el
b/ez.el
index
67e9caf
..
4ec4346
100644
(file)
--- a/
ez.el
+++ b/
ez.el
@@
-99,10
+99,10
@@
;; Global variables
(defun ez-get-global-var (gvar)
- (ez-mem-ref-word (+ (* 2 gvar)
(ez-mem-ref-word ez-globalvartab-addr)
)))
+ (ez-mem-ref-word (+ (* 2 gvar)
ez-globalvartab-addr
)))
(defun ez-set-global-var (gvar val)
- (ez-mem-set-word (+ (* 2 gvar)
(ez-mem-ref-word ez-globalvartab-addr)
) val))
+ (ez-mem-set-word (+ (* 2 gvar)
ez-globalvartab-addr
) val))
;; Object tree