libyasm
|
YASM parser module interface. More...
#include <parser.h>
Data Fields | |
const char * | name |
One-line description of the parser. | |
const char * | keyword |
Keyword used to select parser on the command line. | |
const char ** | preproc_keywords |
NULL-terminated list of preprocessors that are valid to use with this parser. More... | |
const char * | default_preproc_keyword |
Default preprocessor. More... | |
const yasm_stdmac * | stdmacs |
NULL-terminated list of standard macro lookups. More... | |
void(* | do_parse )(yasm_object *object, yasm_preproc *pp, int save_input, yasm_linemap *linemap, yasm_errwarns *errwarns) |
Parse a source file into an object. More... | |
YASM parser module interface.
The "front end" of the assembler.
const char* yasm_parser_module::default_preproc_keyword |
void(* yasm_parser_module::do_parse)(yasm_object *object, yasm_preproc *pp, int save_input, yasm_linemap *linemap, yasm_errwarns *errwarns) |
Parse a source file into an object.
object | object to parse into (already created) |
pp | preprocessor |
save_input | nonzero if the parser should save the original lines of source into the object's linemap (via yasm_linemap_add_data()). |
errwarns | error/warning set |
const char** yasm_parser_module::preproc_keywords |
const yasm_stdmac* yasm_parser_module::stdmacs |