X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/f64eb323a5798e155cc494043f5f750abf50a482..f458e64e36509fa8c204f1dbcafff1d3dc059619:/lib/keyword.h?ds=sidebyside diff --git a/lib/keyword.h b/lib/keyword.h index 1fa3e56..07ff783 100644 --- a/lib/keyword.h +++ b/lib/keyword.h @@ -115,7 +115,7 @@ extern kw_unkhookfn *kw_unkhook; /*----- Argument list macros ----------------------------------------------*/ -/* These macros is intended to be conveniences rather than a proper +/* These macros are intended to be conveniences rather than a proper * abstraction. Functions with more complicated interfaces, and their * callers, will have to make their own arrangements. */ @@ -145,7 +145,7 @@ extern kw_unkhookfn *kw_unkhook; #define KWARGS(body) body KW__END #define KW__END ((const char *)0) -/* --- @NO_KWARGS@ --- * +/* --- @NO_KWARGS@ --- * * * Arguments: --- * @@ -158,13 +158,13 @@ extern kw_unkhookfn *kw_unkhook; /* Slight hack. The @KWCALL@ macro sets GCC and similar compilers up to * check for a sentinal null pointer at the end of the variable-length * argument tail. Alas, if there are no keywords at all, then the null - * terminator ends up in the @kwfirst_@ argument, and the tail is propetly + * terminator ends up in the @kwfirst_@ argument, and the tail is properly * empty, with the result that the compiler gives an annoying warning. * Supplying an extra argument here is obviously harmless, and makes the * otherwise useful warning go away in this case where it's not wanted. */ -/* --- @K@ --- * +/* --- @K@ --- * * * Arguments: @kw@ = keyword name, as an unquoted token list * @val@ = keyword value, as an expression @@ -235,7 +235,7 @@ extern kw_unkhookfn *kw_unkhook; set##_KWSET(KWSET__SUPPLIEDP) \ set##_KWSET(KWSET__STRUCTMEM) \ } -#define KWSET__SUPPLIEDP(type, name, dflt) unsigned name##_suppliedp : 1; +#define KWSET__SUPPLIEDP(type, name, dflt) unsigned name##_suppliedp: 1; #define KWSET__STRUCTMEM(type, name, dflt) type name; /* --- @KWSET_PARSEFN@ --- *