summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dfasearch.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/dfasearch.c b/src/dfasearch.c
index 744b8f81..8f48296a 100644
--- a/src/dfasearch.c
+++ b/src/dfasearch.c
@@ -53,14 +53,10 @@ dfaerror (char const *mesg)
die (EXIT_TROUBLE, 0, "%s", mesg);
}
-/* For now, the sole dfawarn-eliciting condition (use of a regexp
- like '[:lower:]') is unequivocally an error, so treat it as such,
- when possible. */
-void
+_Noreturn void
dfawarn (char const *mesg)
{
- if (!getenv ("POSIXLY_CORRECT"))
- dfaerror (mesg);
+ dfaerror (mesg);
}
/* If the DFA turns out to have some set of fixed strings one of