commit | 8e78755cd3d9af26061ada62587f7aa908a06968 | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Fri Dec 28 00:18:32 2018 -0700 |
committer | Gavin Howard <yzena.tech@gmail.com> | Fri Dec 28 00:18:32 2018 -0700 |
tree | 2df4d990190e569f4c71191778b00f2e22b9f902 | |
parent | 573259c87546c0b548d3d945498426cc68c69bca [diff] |
Remove some debugging code in release builds
diff --git a/src/dc/parse.c b/src/dc/parse.c index c11ad87..4f1dbd9 100644 --- a/src/dc/parse.c +++ b/src/dc/parse.c
@@ -182,13 +182,14 @@ s = dc_parse_mem(p, inst, false, true); break; } - +#ifndef NDEBUG default: { s = bc_vm_error(BC_ERROR_PARSE_TOKEN, p->l.line); get_token = true; break; } +#endif // NDEBUG } if (!s && get_token) s = bc_lex_next(&p->l);