diff options
Diffstat (limited to 'parts/toklist.h')
-rw-r--r-- | parts/toklist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/toklist.h b/parts/toklist.h index f32cd25..760846f 100644 --- a/parts/toklist.h +++ b/parts/toklist.h @@ -5,10 +5,10 @@ struct token; -// /*extern*/ struct token *toklist_eat(); -// /*extern*/ struct token *toklist_peek(); +symbol token_sym(struct token *t); // UB for NULL +int token_val(struct token *t); // UB for NULL -symbol toklist_eat(); -symbol toklist_peek(); +struct token *toklist_eat(); // always non-NULL +struct token *toklist_peek(); // always non-NULL #endif |