summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-09-17 22:28:47 +0200
committerKevin Chabowski <kevin@kch42.de>2011-09-17 22:28:47 +0200
commit6ab5c3fac3fdd1a768cd3c042c5a69f37c0f5377 (patch)
treeba8b2e5623d45d662427766859cb742869b59809
parent6ebc32e7a07468d770a1b81d30547cc16ac19cbc (diff)
downloadste-6ab5c3fac3fdd1a768cd3c042c5a69f37c0f5377.tar.gz
ste-6ab5c3fac3fdd1a768cd3c042c5a69f37c0f5377.tar.bz2
ste-6ab5c3fac3fdd1a768cd3c042c5a69f37c0f5377.zip
Some minor changes in the language definition.
-rw-r--r--language_definition.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/language_definition.html b/language_definition.html
index 6eccfa5..b1964a9 100644
--- a/language_definition.html
+++ b/language_definition.html
@@ -205,6 +205,7 @@
<p><code><![CDATA[<ste:if>condition<ste:then>then</ste:then><ste:else>else</ste:else></ste:if>]]></code></p>
<p><code>?</code>, <code>{</code>, <code>|</code> and <code>}</code> can be <a href="#escaping">escaped</a></p>
<p>In this variant, the else part <strong>is not optional</strong>!</p>
+ <p><strong>WARNING:</strong> short if-clauses can not be nested!</p>
<h3 id="builtin_cmp">ste:cmp</h3>
<p>With the ste:cmp tag you can compare two values.</p>
@@ -435,7 +436,7 @@
</ste:block>]]></pre></code>
When executing slave.tpl, master.tpl will be loaded and its <code>content</code> block will be replaced with the new one (<code>Much cooler content :-)</code>) but leave the original <code>sidebar</code> block.
</p>
- <p>Code in blocks will be executed at last.</p>
+ <p>Blocks can not be nested.</p>
<h3 id="builtin_set">ste:set</h3>
<p>ste:set will set a variable. The parameter <code>var</code> takes the name of the variable to set. The content of the <a href="#basic_elems_tag">Tag</a> will be the new content of the variable.</p>