diff options
| author | gingerBill <bill@gingerbill.org> | 2021-05-16 12:46:25 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-05-16 12:46:25 +0100 |
| commit | 385385364b3d19c6bac2ee6184da1f0db38e9099 (patch) | |
| tree | a0f2b34da690dd291f5198f95d7cc4a024325e4d /src/check_expr.cpp | |
| parent | 9ccdc40f65542702d5a4603f34a468435d97c352 (diff) | |
Fix #988
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 61cfd7d6e..ecffe7510 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -1115,6 +1115,7 @@ bool check_cycle(CheckerContext *c, Entity *curr, bool report) { error(curr->token, "\t%.*s refers to", LIT(curr->token.string)); } error(curr->token, "\t%.*s", LIT(curr->token.string)); + curr->type = t_invalid; } return true; } |