Go to the source code of this file.
◆ act_isimported()
int act_isimported |
( |
const char * |
file | ) |
|
Determines if a file has already been imported. Used to avoid duplicate imports of the same import specifier
- Parameters
-
file | is the specified import |
- Returns
- 1 if the specified import has been previously procsssed, 0 otherwise
◆ act_path_open()
char * act_path_open |
( |
char * |
name | ) |
|
Returns a string corresponding to the path name
- Parameters
-
name | is the raw name of the import file |
- Returns
- string corresponded to the fully expanded path name
◆ act_pending_import()
int act_pending_import |
( |
char * |
file | ) |
|
Determines if we are importing the specified file at the moment.
- Parameters
-
file | is the name of the import file |
- Returns
- 1 if there is an import pending on the specified file, and 0 otherwise
◆ act_pop_import()
void act_pop_import |
( |
char * |
file | ) |
|
Indicates that the file import is completed, and pops the imported file of the current import stack
- Parameters
-
file | is the name of the import |
◆ act_print_import_stack()
void act_print_import_stack |
( |
FILE * |
fp | ) |
|
Error reporting: shows the history of imports
- Parameters
-
fp | is the output file pointer to which the error message is displayed |
◆ act_push_import()
void act_push_import |
( |
char * |
file | ) |
|
Adds the specified file to the import list
- Parameters
-
file | is the name of the import file |