=================================================================== RCS file: /cvs/docbook2mdoc/macro.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- docbook2mdoc/macro.h 2019/05/01 17:20:47 1.7 +++ docbook2mdoc/macro.h 2019/05/20 20:08:26 1.8 @@ -1,4 +1,4 @@ -/* $Id: macro.h,v 1.7 2019/05/01 17:20:47 schwarze Exp $ */ +/* $Id: macro.h,v 1.8 2019/05/20 20:08:26 schwarze Exp $ */ /* * Copyright (c) 2019 Ingo Schwarze * @@ -44,10 +44,11 @@ struct format { enum parastate parastate; }; -#define ARG_SPACE 1 /* Insert whitespace before this argument. */ -#define ARG_SINGLE 2 /* Quote argument if it contains whitespace. */ -#define ARG_QUOTED 4 /* We are already in a quoted argument. */ -#define ARG_UPPER 8 /* Covert argument to upper case. */ +#define ARG_SPACE (1 << 0) /* Insert whitespace before this argument. */ +#define ARG_SINGLE (1 << 1) /* Quote arg if it contains whitespace. */ +#define ARG_QUOTED (1 << 2) /* We are already in a quoted argument. */ +#define ARG_RAW (1 << 3) /* Skip macro and backslash escaping. */ +#define ARG_UPPER (1 << 4) /* Convert argument to upper case. */ void macro_open(struct format *, const char *);