diff options
Diffstat (limited to 'thac.h')
| -rw-r--r-- | thac.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/thac.h b/thac.h index 37dd9f5..060fcdf 100644 --- a/thac.h +++ b/thac.h @@ -294,6 +294,11 @@ int _exptok(enum tok_t, ...); struct node *getstmt(void); struct val eval(struct node *, struct scope *); +/* + * TODO: Probably current struct scope implementation is bad, + * as because of it functions below require double pointer + * and consequently overwrite it. Maybe a pure linked list? + */ long findvar(char *, struct scope **); ulong assignvar(char *, struct val, struct scope **); int varnextchar(struct scope *); |