diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:39:54 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-27 20:39:54 +0200 |
commit | fc1410099d6ccbb72adb54ecffd0711348706ca4 (patch) | |
tree | d04175556415fff6bcf66f48fc05c4da5f2d4908 /re.c | |
parent | 7acb038bd54f81fb95dac70954e5c1b8ec07a086 (diff) | |
download | egawk-fc1410099d6ccbb72adb54ecffd0711348706ca4.tar.gz egawk-fc1410099d6ccbb72adb54ecffd0711348706ca4.tar.bz2 egawk-fc1410099d6ccbb72adb54ecffd0711348706ca4.zip |
Have cant_happen() give more information.
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ make_regexp(const char *s, size_t len, bool ignorecase, bool dfa, bool canfatal) case '7': c2 = parse_escape(&src); if (c2 < 0) - cant_happen(); + cant_happen("received bad result %d from parse_escape()", c2); /* * Unix awk treats octal (and hex?) chars * literally in re's, so escape regexp |