mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-17 01:41:51 +03:00
Set Ragel.rl char type to unsigned, #135
This commit is contained in:
@@ -272,6 +272,7 @@ unichar readUtf8CodePoint4c(const char *s) {
|
||||
|
||||
%%{
|
||||
machine regex;
|
||||
alphtype unsigned char;
|
||||
|
||||
action throwUnsupportedEscape {
|
||||
ostringstream str;
|
||||
|
||||
@@ -54,6 +54,7 @@ const char *read_control_verbs(const char *ptr, const char *end, size_t start,
|
||||
|
||||
%%{
|
||||
machine ControlVerbs;
|
||||
alphtype unsigned char;
|
||||
|
||||
# Verbs that we recognise but do not support.
|
||||
unhandledVerbs = '(*' (
|
||||
|
||||
Reference in New Issue
Block a user