mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Set Ragel.rl char type to unsigned, #135
This commit is contained in:
2
src/hs.h
2
src/hs.h
@@ -43,7 +43,7 @@
|
||||
|
||||
#define HS_MAJOR 5
|
||||
#define HS_MINOR 4
|
||||
#define HS_PATCH 0
|
||||
#define HS_PATCH 9
|
||||
|
||||
#include "hs_compile.h"
|
||||
#include "hs_runtime.h"
|
||||
|
@@ -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