#include "ExternalTemplate.h"
#include "debug.h"
-#include "LyXLex.h"
+#include "Lexer.h"
#include "support/filetools.h"
#include "support/lstrings.h"
{ "templateend", TM_TEMPLATE_END }
};
- LyXLex lex(templatetags, TM_TEMPLATE_END);
+ Lexer lex(templatetags, TM_TEMPLATE_END);
support::FileName const filename = support::libFileSearch("", "external_templates");
if (filename.empty() || !lex.setFile(filename)) {
} // namespace anon
-void Template::readTemplate(LyXLex & lex)
+void Template::readTemplate(Lexer & lex)
{
enum TemplateOptionTags {
TO_GUINAME = 1,
{ "transform", TO_TRANSFORM }
};
- pushpophelper pph(lex, templateoptiontags, TO_END);
+ PushPopHelper pph(lex, templateoptiontags, TO_END);
while (lex.isOK()) {
switch (lex.lex()) {
} // namespace anon
-void Template::Format::readFormat(LyXLex & lex)
+void Template::Format::readFormat(Lexer & lex)
{
enum FormatTags {
FO_PRODUCT = 1,
{ "updateresult", FO_UPDATERESULT }
};
- pushpophelper pph(lex, formattags, FO_END);
+ PushPopHelper pph(lex, formattags, FO_END);
while (lex.isOK()) {
switch (lex.lex()) {
} // namespace external
} // namespace lyx
+
+
+