return true;
if ( ! parserExistsError ) {
- scan_error() << "include: there is no previous specification name" << endl;
+ scan_error() << "there is no previous specification name" << endl;
parserExistsError = true;
}
return false;
action handle_include
{
- if ( active && parserExists() ) {
+ if ( parserExists() && active ) {
char *inclSectionName = word;
char *inclFileName = 0;
action write_command
{
+ parserExists();
if ( active && machineSpec == 0 && machineName == 0 ) {
output << "<write"
" def_name=\"" << parser->sectionName << "\""
action handle_token
{
/* Send the token off to the parser. */
- if ( active && parserExists() ) {
+ if ( parserExists() && active ) {
InputLoc loc;
#if 0
}%%
/* Close off the section with the parser. */
- if ( active && parserExists() ) {
+ if ( parserExists() && active ) {
InputLoc loc;
loc.fileName = fileName;
loc.line = line;