add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${src_dir}/${src_file}.cpp
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/${src_dir}
- COMMAND ${RAGEL} ${CMAKE_CURRENT_SOURCE_DIR}/${src_rl} -o ${rl_out}
+ COMMAND ${RAGEL} ${CMAKE_CURRENT_SOURCE_DIR}/${src_rl} -o ${rl_out -G0}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${src_rl}
)
add_custom_target(ragel_${src_file} DEPENDS ${rl_out})
#define HS_MAJOR 5
#define HS_MINOR 4
-#define HS_PATCH 0
+#define HS_PATCH 9
#include "hs_compile.h"
#include "hs_runtime.h"
%%{
machine regex;
+ alphtype unsigned char;
action throwUnsupportedEscape {
ostringstream str;
%%{
machine ControlVerbs;
+ alphtype unsigned char;
# Verbs that we recognise but do not support.
unhandledVerbs = '(*' (
%%{
machine FileCorporaParser;
+ alphtype unsigned char;
action accumulateNum {
num = (num * 10) + (fc - '0');
%%{
machine ExpressionParser;
+ alphtype unsigned char;
action accumulateNum {
num = (num * 10) + (fc - '0');