Next: , Previous: SPEC Directives, Up: Top


Appendix A Keywords

This appendix describes some of the keywords and terminal tokens in the HAC language. The following are all special words recognized by the lexer.

Terminals (tokens):

TODO: extract from yacc output file.

Keywords:

__FILE__
A string that repesents the current file (absolute path).
__LINE__
Compile-time integer (pint) that holds the current line number in the input stream or file.
import
The directive for including another source file. Automatically ignores the file if it was already read. (implicit pragma-include-once)
#FILE
Reserved, not intended for general use. Embedded file directive, emitted by flattening a source file's import directives recursively. Allows a single file to behave as if sections were included hierarchically.