Graphviz 13.0.0~dev.20241220.2304
|
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <gml2gv.h>
#include <gmlparse.h>
#include <util/alloc.h>
#include "config.h"
Go to the source code of this file.
Macros | |
#define | GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
#define | YY_INPUT(buf, result, max_size) |
Functions | |
void | initgmlscan (FILE *ifile) |
static void | beginstr (void) |
static void | addstr (const char *src) |
static void | endstr (void) |
int | yylex (void) |
void | gmlerror (const char *str) |
int | gmlerrors (void) |
void | gmllexeof (void) |
int | yywrap (YY_CALL_ONLY_ARG) |
Variables | |
static int | line_num = 1 |
static int | errors |
static FILE * | Ifile |
static char * | Sbuf |
#define GRAPH_EOF_TOKEN '@' /* lex class must be defined below */ |
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
|
static |
Definition at line 50 of file gmlscan.l.
References gv_realloc(), NULL, and Sbuf.
|
static |
Definition at line 45 of file gmlscan.l.
References gv_strdup(), NULL, and Sbuf.
|
static |
void gmlerror | ( | const char * | str | ) |
int gmlerrors | ( | void | ) |
Definition at line 133 of file gmlscan.l.
References errors.
Referenced by gml_to_gv(), and gml_to_gv().
void gmllexeof | ( | void | ) |
Definition at line 138 of file gmlscan.l.
References GRAPH_EOF_TOKEN, and unput.
void initgmlscan | ( | FILE * | ifile | ) |
Definition at line 27 of file gmlscan.l.
References errors, errors, Ifile, Ifile, line_num, and line_num.
Referenced by gml_to_gv(), and gml_to_gv().
int yywrap | ( | YY_CALL_ONLY_ARG | ) |
|
static |
Definition at line 24 of file gmlscan.l.
Referenced by gmlerror(), gmlerrors(), and initgmlscan().
|
static |
Definition at line 25 of file gmlscan.l.
Referenced by initgmlscan().
|
static |
Definition at line 23 of file gmlscan.l.
Referenced by gmlerror(), and initgmlscan().
|
static |
Definition at line 43 of file gmlscan.l.
Referenced by addstr(), beginstr(), and endstr().