diff options
| author | Paul Buetow <paul@buetow.org> | 2008-11-04 21:20:56 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-11-04 21:20:56 +0000 |
| commit | ff0828f06a1f317681c45402feda48bde592a076 (patch) | |
| tree | 7c94275d5ab8b140cd41659d567c09bdc7ca9f16 /src/core/interpret.c | |
| parent | 48cf82bfc6cd65cc95f7658582fc532602a85ac0 (diff) | |
array_new_size
array_new_copy
implemented
Diffstat (limited to 'src/core/interpret.c')
| -rw-r--r-- | src/core/interpret.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/interpret.c b/src/core/interpret.c index d2956e2..aced534 100644 --- a/src/core/interpret.c +++ b/src/core/interpret.c @@ -948,7 +948,8 @@ _term(Interpret *p_interpret) { } break; - /* Reference operator */ + /* + // Reference operator case TT_AAND: { _NEXT @@ -956,7 +957,9 @@ _term(Interpret *p_interpret) { _INTERPRET_ERROR("Expexted identifier for '&'", p_interpret->p_token); - + char *c_name = token_get_val(p_interpret->p_token); + Symbol *p_symbol = scope_get(p_interpret->p_scope, c_name); + _INTERPRET_ERROR("nyi", p_interpret->p_token); _NEXT; @@ -964,7 +967,7 @@ _term(Interpret *p_interpret) { } break; - /* Dereference opeator */ + // Dereference opeator case TT_MULT: { _NEXT @@ -972,11 +975,13 @@ _term(Interpret *p_interpret) { _INTERPRET_ERROR("Expexted identifier for '*'", p_interpret->p_token); + _INTERPRET_ERROR("nyi", p_interpret->p_token); _NEXT; return (1); } break; + */ /* case TT_PARANT_AL: |
