Now I understand what Bruce was getting at - -1 can be parsed as two

tokens, so it does indeed need to be parenthesized.  Duh.  Sometimes
it can stare you right and the face and you still don't see it.  Thanks, bde.
This commit is contained in:
Jordan K. Hubbard 2003-12-18 10:41:39 +00:00
parent 85a1bad78e
commit 3a5c252064
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
#if __XSI_VISIBLE
#define FNM_NOSYS -1 /* Reserved. */
#define FNM_NOSYS (-1) /* Reserved. */
#endif
#if __BSD_VISIBLE

View File

@ -75,7 +75,7 @@ typedef struct {
#define REG_DUMP 0200
/* regerror() flags */
#define REG_ENOSYS -1
#define REG_ENOSYS (-1)
#define REG_NOMATCH 1
#define REG_BADPAT 2
#define REG_ECOLLATE 3