diff options
Diffstat (limited to 'interpreter/syntax.c')
-rw-r--r-- | interpreter/syntax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interpreter/syntax.c b/interpreter/syntax.c index 6c6367f..b8ba0d2 100644 --- a/interpreter/syntax.c +++ b/interpreter/syntax.c @@ -109,13 +109,13 @@ expression** flatten_app_args(expression* from) { } void concat_fuspel(fuspel* start, fuspel* end) { - do { + while (start) { if (!start->rest) { start->rest = end; return; } start = start->rest; - } while (start); + } } fuspel* push_fuspel(fuspel* rules) { |