diff options
author | John Hodge <tpg@mutabah.net> | 2018-12-30 07:24:24 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-12-30 07:24:24 +0800 |
commit | aa3e514294a257fb5821533dfbfd02467cf0c9d0 (patch) | |
tree | 20067f7144ea737a76ff342d939d2700a9362af0 | |
parent | 73261b9520fb7c3003b435fbc5f28613b4aff390 (diff) | |
download | mrust-aa3e514294a257fb5821533dfbfd02467cf0c9d0.tar.gz |
expand assert - Fix logic error
-rw-r--r-- | src/expand/assert.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expand/assert.cpp b/src/expand/assert.cpp index 1c057935..5bb23bde 100644 --- a/src/expand/assert.cpp +++ b/src/expand/assert.cpp @@ -31,6 +31,7 @@ class CExpander_assert: ::std::vector<TokenTree> toks; toks.push_back( Token(TOK_RWORD_IF) ); + toks.push_back( Token(TOK_EXCLAM) ); GET_TOK(tok, lex); if( tok == TOK_COMMA ) |