break;
}
- case LT_REFPREFIX:
- lex >> refprefix;
+ case LT_REFPREFIX: {
+ docstring arg;
+ lex >> arg;
+ if (arg == "OFF")
+ refprefix.clear();
+ else
+ refprefix = arg;
break;
+ }
case LT_HTMLTAG:
lex >> htmltag_;
inpreamble = false;
}
- return !error;
+ return finished && !error;
}