projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/web: introduce recursive expression support for datatypes, introduce "or" and...
[project/luci.git]
/
libs
/
web
/
src
/
template_parser.h
diff --git
a/libs/web/src/template_parser.h
b/libs/web/src/template_parser.h
index
42ebdff
..
24933f0
100644
(file)
--- a/
libs/web/src/template_parser.h
+++ b/
libs/web/src/template_parser.h
@@
-49,7
+49,6
@@
#define T_TOK_START "<%"
#define T_TOK_END "%>"
#define T_TOK_SKIPWS "-"
#define T_TOK_START "<%"
#define T_TOK_END "%>"
#define T_TOK_SKIPWS "-"
-#define T_TOK_I18NSEP "\", \""
/* generator flags */
#define T_GEN_START 0x01
/* generator flags */
#define T_GEN_START 0x01
@@
-61,7
+60,8
@@
#define T_TYPE_EXPR 2
#define T_TYPE_INCLUDE 3
#define T_TYPE_I18N 4
#define T_TYPE_EXPR 2
#define T_TYPE_INCLUDE 3
#define T_TYPE_I18N 4
-#define T_TYPE_CODE 5
+#define T_TYPE_I18N_RAW 5
+#define T_TYPE_CODE 6
/* parser state */
struct template_parser {
/* parser state */
struct template_parser {