projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e43d611
)
process meta: correctly
author
david
<david@zentus.com>
Tue, 10 Feb 2004 21:23:36 +0000
(21:23 +0000)
committer
david
<david@zentus.com>
Tue, 10 Feb 2004 21:23:36 +0000
(21:23 +0000)
darcs-hash:
20040210212336
-ac46f-
d97e274d5a277efb1a47a1c21b4f5159cfae6677
.gz
src/org/ibex/Template.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/Template.java
b/src/org/ibex/Template.java
index
41c23aa
..
943fe0f
100644
(file)
--- a/
src/org/ibex/Template.java
+++ b/
src/org/ibex/Template.java
@@
-267,7
+267,7
@@
public class Template {
public void endElement(XML.Element c) throws XML.Exn, IOException {
switch(state) {
public void endElement(XML.Element c) throws XML.Exn, IOException {
switch(state) {
- case STATE_IN_META_NODE: if (meta-- < 0) state = STATE_IN_ROOT_NODE; return;
+ case STATE_IN_META_NODE: if (--meta < 0) state = STATE_IN_ROOT_NODE; return;
case STATE_IN_ROOT_NODE: return;
case STATE_IN_TEMPLATE_NODE: {
if (t.content != null) { t.script = parseScript(t.content, t.content_start); t.content = null; }
case STATE_IN_ROOT_NODE: return;
case STATE_IN_TEMPLATE_NODE: {
if (t.content != null) { t.script = parseScript(t.content, t.content_start); t.content = null; }