From 4750be2da326297830691c54adbab0a5dea14802 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Fri, 23 Feb 2018 12:54:43 +0200 Subject: wip --- src/ragel/ragel.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/ragel/ragel.h (limited to 'src/ragel/ragel.h') diff --git a/src/ragel/ragel.h b/src/ragel/ragel.h deleted file mode 100644 index b2c7572..0000000 --- a/src/ragel/ragel.h +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -#include -#include - -struct ragel_mem { - const char *data, *end; - bool binary; // binary input bit -}; - -struct ragel { - struct ragel_mem input; // block of input data - uint64_t lineno; // current line - const char *p, *pe, *eof; // see ragel doc - const char *cl; // current line start - const char *name; // may be current file name for example - bool error; // error thrown bit -}; - -__attribute__((format(printf, 2, 3))) void -ragel_throw_error(struct ragel *ragel, const char *fmt, ...); - -void -ragel_set_name(struct ragel *ragel, const char *name); - -void -ragel_advance_line(struct ragel *ragel); - -void -ragel_feed_input(struct ragel *ragel, const bool eof, const struct ragel_mem *input); -- cgit v1.2.3-70-g09d2