Cthulhu  0.2.10
Cthulhu compiler collection
flex.c File Reference
#include "interop/actions.h"
#include "base/panic.h"
#include "core/where.h"
#include "scan/scan.h"
#include <limits.h>
Include dependency graph for flex.c:

Go to the source code of this file.

Functions

STA_DECL void flex_action (where_t *where, const char *text)
 
STA_DECL int flex_input (scan_t *scan, char *out, int size)
 
STA_DECL void flex_init (where_t *where)
 
STA_DECL void flex_update (where_t *where, const where_t *offsets, int steps)
 

Function Documentation

◆ flex_action()

STA_DECL void flex_action ( where_t where,
const char *  text 
)

Definition at line 13 of file flex.c.

◆ flex_init()

STA_DECL void flex_init ( where_t where)

Definition at line 49 of file flex.c.

◆ flex_input()

STA_DECL int flex_input ( scan_t scan,
char *  out,
int  size 
)

Definition at line 39 of file flex.c.

◆ flex_update()

STA_DECL void flex_update ( where_t where,
const where_t offsets,
int  steps 
)

Definition at line 58 of file flex.c.