Data Fields | |
| void(* | error )(struct script_s *script, const char *msg) |
| if set, will be called instead of the internal error handler More... | |
| const char * | file |
| name of the file being processed. used only for error reporting More... | |
| int | line |
| line number of the file being processed. More... | |
| int | no_quote_lines |
| if set, multi line quoted tokens will be treated as errors More... | |
| const char * | p |
| current position within the script More... | |
| const char * | single |
| if set, characters in this string will always be lexed as single character tokens. More... | |
| struct dstring_s * | token |
| The current (or next when unget is true) token. More... | |
| qboolean | unget |
| True if the last token has been pushed back. More... | |
if set, will be called instead of the internal error handler
| const char* file |
name of the file being processed. used only for error reporting
| int line |
line number of the file being processed.
used only for error reporting but updated internally.
| int no_quote_lines |
if set, multi line quoted tokens will be treated as errors
| const char* p |
current position within the script
| const char* single |
if set, characters in this string will always be lexed as single character tokens.
If not set, defaults to "{}()':". Set to "" (empty string) to disable. Not set by default.
| qboolean unget |
True if the last token has been pushed back.