parser for command files. More...
constructor
opens _fname for reading and initializes data
destructor
closes command file
prints an error
errnum is one of the ERROR_
or WARNING_
constants from errdesc.h
calls describe_error
$$
is replaced by current token
replaces "$$"
by current token, including ''
prints current token to screen. Used for $$
replacements
drop current token and read next from input file
eats a opening bracket '('.
if force is
false,
the bracket is optional.
true,
a error is printed if there is no bracket
eats a closing bracket ')'.
if force is
false,
the bracket is optional.
true,
a error is printed if there is no bracket
eats a positive integer
>=0
if there was a number
-1
if there was no number
eats a integer
writes it into the argument
true
if there was a number
false
if there was no number
[private]
[private]
[private]
[private]
[private]
similar to vprintf()
replaces $$
by current token
current token type. Value is one of the PT_
defines.
class ensures that calling functions never get PT_CBEGIN, PT_CEND and PT_LINECOM.
string with the current token if curtok is PT_TEXT
[private]
[private]
[private]
[private]