diff options
Diffstat (limited to 'support/dfa.h')
-rw-r--r-- | support/dfa.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/support/dfa.h b/support/dfa.h index 91ec1d80..043f0e97 100644 --- a/support/dfa.h +++ b/support/dfa.h @@ -79,7 +79,11 @@ enum merely a warning. */ DFA_CONFUSING_BRACKETS_ERROR = 1 << 2, - /* Warn about stray backslashes before ordinary characters. */ + /* Warn about stray backslashes before ordinary characters other + than ] and } which are special because even though POSIX + says \] and \} have undefined interpretation, platforms + reliably ignore those stray backlashes and warning about them + would likely cause more trouble than it's worth. */ DFA_STRAY_BACKSLASH_WARN = 1 << 3, /* Warn about * appearing out of context at the start of an |