From 0e50aa690af6cd9f37fa97b4a521fe523cce3c39 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 25 Nov 2012 19:17:55 +0000 Subject: libs/web: rewrite template engine, merge lmo library - template parser: merge lmo library - template parser: rewrite to operate on memory mapped files - template parser: implement proper line number reporting on syntax errors - template parser: process translate tags directly and bypass Lua - template lmo: introduce load_catalog(), change_catalog() and close_catalog() - template lmo: rewrite index processing to operate directly on the memory mapped file - template lmo: implement binary search keys, reducing the lookup complexity to O(log n) - po2lmo: write sorted indixes when generating *.lmo archives - i18n: use the template parser for translations - i18n: stub load(), loadc() and clear() - i18n: map setlanguage() to load_catalog() --- libs/web/src/template_lualib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/web/src/template_lualib.h') diff --git a/libs/web/src/template_lualib.h b/libs/web/src/template_lualib.h index d628b9dce0..1b659be126 100644 --- a/libs/web/src/template_lualib.h +++ b/libs/web/src/template_lualib.h @@ -21,6 +21,7 @@ #include "template_parser.h" #include "template_utils.h" +#include "template_lmo.h" #define TEMPLATE_LUALIB_META "template.parser" -- cgit v1.2.3