summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'regparse.c')
-rw-r--r--regparse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/regparse.c b/regparse.c
index 0a6bf199c1..0cc9a62e34 100644
--- a/regparse.c
+++ b/regparse.c
@@ -3069,6 +3069,9 @@ fetch_token_in_cc(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env)
PUNFETCH;
}
}
+ else {
+ onig_syntax_warn(env, "invalid Unicode Property \\%c", c);
+ }
break;
case 'x':
@@ -3634,6 +3637,9 @@ fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env)
PUNFETCH;
}
}
+ else {
+ onig_syntax_warn(env, "invalid Unicode Property \\%c", c);
+ }
break;
default: