#include <ctu_interop_api.h>
#include "base/panic.h"
#include "interop/actions.h"
Go to the source code of this file.
◆ YY_FATAL_ERROR
#define YY_FATAL_ERROR |
( |
|
msg | ) |
CT_NEVER("fatal flex error: %s", msg) |
install our own error handler for nicer error messages
Definition at line 38 of file flex.h.
◆ YY_INPUT
#define YY_INPUT |
( |
|
buffer, |
|
|
|
result, |
|
|
|
size |
|
) |
| |
Value:
if ((result) <= 0) \
{ \
(result) = YY_NULL; \
}
CT_INTEROP_API int flex_input(INOUT_NOTNULL scan_t *scan, STA_WRITES(size) char *out, int size)
retrevies more input for flex
read input for flex and bison
Definition at line 18 of file flex.h.
◆ YY_USER_ACTION
track source locations inside flex and bison
Definition at line 13 of file flex.h.
◆ YY_USER_INIT
initialize flex and bison
Definition at line 33 of file flex.h.
◆ YYLLOC_DEFAULT
#define YYLLOC_DEFAULT |
( |
|
current, |
|
|
|
rhs, |
|
|
|
offset |
|
) |
| flex_update(&(current), rhs, offset) |
default source location update function
Definition at line 28 of file flex.h.