diff options
| author | 2022-08-16 05:32:02 +0200 | |
|---|---|---|
| committer | 2022-08-16 05:32:02 +0200 | |
| commit | 77b2ae9b24d07770fdd22530bf22061a275cc0f0 (patch) | |
| tree | 8012f9730b1a2e725b45a2255e7c7a0e6eefc40a /src/common.hff | |
| parent | 73f68a9c5ed4c8139cc1c4f7695da29e5a3fb4c8 (diff) | |
change 'not' to '!'
it looks nicer
Diffstat (limited to 'src/common.hff')
| -rw-r--r-- | src/common.hff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hff b/src/common.hff index 02859f8..3d90c55 100644 --- a/src/common.hff +++ b/src/common.hff @@ -5,7 +5,7 @@ import "libc.hff"; defmacro assert { (ex, s, ...args) [ (do - if not (ex) { + if !(ex) { fprintf(stderr, "%s:%d: assertion failed: ", #FILE, #LINE); fprintf(stderr, s, args); fprintf(stderr, "\n"); |