Set Ragel.rl char type to unsigned, #135

This commit is contained in:
Konstantinos Margaritis
2023-03-21 18:07:06 +00:00
parent 0f967b9575
commit dbdbfe9473
6 changed files with 6 additions and 2 deletions

View File

@@ -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"

View File

@@ -272,6 +272,7 @@ unichar readUtf8CodePoint4c(const char *s) {
%%{
machine regex;
alphtype unsigned char;
action throwUnsupportedEscape {
ostringstream str;

View File

@@ -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 = '(*' (