#include <common/main.h>
Go to the source code of this file.
Functions | |
void | lex_open (struct string_ty *) |
void | lex_open_env (const char *name) |
void | lex_open_input (input &) |
void | lex_close (void) |
void | lex_error (struct sub_context_ty *, const char *) |
void | gram_error (const char *) |
int | gram_lex (void) |
string_ty * | lex_position (void) |
void gram_error | ( | const char * | ) |
int gram_lex | ( | void | ) |
void lex_close | ( | void | ) |
void lex_error | ( | struct sub_context_ty * | , | |
const char * | ||||
) |
void lex_open | ( | struct string_ty * | ) |
void lex_open_env | ( | const char * | name | ) |
void lex_open_input | ( | input & | ) |
string_ty* lex_position | ( | void | ) |
The lex_position function is used to get the current lexer position. If no file is open at present, it returns "end of input".