diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-11 23:26:04 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-11 23:26:04 +0000 |
commit | 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f (patch) | |
tree | 53644f3d0a9b24a10275ba723f6e7e43aee00ec9 /unsorted/Option.c | |
parent | 0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (diff) | |
download | MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.tar.gz MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.zip |
get it to compile with clang
Diffstat (limited to 'unsorted/Option.c')
-rw-r--r-- | unsorted/Option.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unsorted/Option.c b/unsorted/Option.c index c1c8e91..e4851dc 100644 --- a/unsorted/Option.c +++ b/unsorted/Option.c @@ -81,8 +81,7 @@ int Args_StackSize(void) { } void Args_Push(short flags, void *first, void *second) { -#line 104 - OPTION_ASSERT(oStackPtr<MAXSTACK); + OS_ASSERT(104, oStackPtr<MAXSTACK); if (oStackPtr > 0) { short prev = @@ -943,8 +942,7 @@ static int Options_DoParse(OptionList *search, int flags) { tok = Arg_GetToken(); if (!tok) tok = Arg_UndoToken(); -#line 1335 - OPTION_ASSERT(tok); + OS_ASSERT(1335, tok); } if (!parsedany || haderrors) |