Graphviz  2.41.20170921.2350
Data Structures | Macros | Functions
htmllex.c File Reference
#include "render.h"
#include "htmltable.h"
#include "htmlparse.h"
#include "htmllex.h"
#include "cdt.h"
#include <ctype.h>
Include dependency graph for htmllex.c:

Go to the source code of this file.

Data Structures

struct  lexstate_t
 

Macros

#define XML_STATUS_ERROR   0
 

Functions

void htmlerror (const char *msg)
 
int initHTMLlexer (char *src, agxbuf *xb, htmlenv_t *env)
 
int clearHTMLlexer ()
 
int htmllineno ()
 
int htmllex ()
 

Macro Definition Documentation

#define XML_STATUS_ERROR   0

Definition at line 27 of file htmllex.c.

Referenced by htmllex().

Function Documentation

int clearHTMLlexer ( void  )

Definition at line 798 of file htmllex.c.

References agxbfree(), lexstate_t::error, lexstate_t::lb, and lexstate_t::warn.

Referenced by parseHTML().

void htmlerror ( const char *  msg)

Definition at line 64 of file htmllex.c.

References agerr(), AGERR, lexstate_t::error, and htmllineno().

Referenced by if(), and switch().

int htmllex ( void  )
int htmllineno ( void  )

Definition at line 876 of file htmllex.c.

Referenced by htmlerror(), and htmllex().

int initHTMLlexer ( char *  src,
agxbuf xb,
htmlenv_t env 
)