diff options
Diffstat (limited to 'src/token.c')
-rw-r--r-- | src/token.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/token.c b/src/token.c index bcb4c18..3479a86 100644 --- a/src/token.c +++ b/src/token.c @@ -28,6 +28,8 @@ void token_destroy(token_t* token) { token_t* token_last(token_t* token) { token_t* t; + t = token; + while (t->nxt) { t = t->nxt; } |