diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-10-25 21:10:32 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-10-25 21:10:32 +0200 |
commit | 6dc747c097e096075b4726eb4aebf1ce0ed71276 (patch) | |
tree | 83725a6b18429da79f13ddc732d2b172310c155e /docu | |
parent | c3a72422e2b9754b60467387fd3cb660e0979e18 (diff) | |
download | ste-6dc747c097e096075b4726eb4aebf1ce0ed71276.tar.gz ste-6dc747c097e096075b4726eb4aebf1ce0ed71276.tar.bz2 ste-6dc747c097e096075b4726eb4aebf1ce0ed71276.zip |
short cmp tags can now contain tags.
To accomplish this, tag parameters can now be compiled, even if they
contain tags (the parser still doesn't allow this, but the compiler can now handle
this situation).
Also reformatted the code.
Diffstat (limited to 'docu')
-rw-r--r-- | docu/language_definition.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docu/language_definition.html b/docu/language_definition.html index 77cb680..934042d 100644 --- a/docu/language_definition.html +++ b/docu/language_definition.html @@ -223,7 +223,6 @@ <p><code><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> @@ -285,9 +284,7 @@ <p><code>~{a|operator|b}</code></p> <p>This is equivalent to:</p> <p><code><ste:cmp text_a="a" op="operator" text_b="b" /></code></p> - <p><code>~</code>, <code>{</code>, <code>|</code> and <code>}</code> can be <a href="#escaping">escaped</a></p> - <p>Because this is implemented as a simple substitution, you can only use <a href="#basic_elems_text">Text</a> and <a href="#basic_elems_variable">Variables</a>. And <code>"</code> must be escaped.</p> - <p><strong>WARNING:</strong> short comparisons can not be nested! They can be inside <a href="#builtin_if_short">short if-clauses</a>, but not the other way around!</p> + <p><code>~</code>, <code>{</code>, <code>|</code> and <code>}</code> can be <a href="#escaping">escaped</a>.</p> <h3 id="builtin_not">ste:not</h3> <p>The ste:not Tag will logically invert its content. If it is an empty text (i.e. false), it will return a non-empty text (i.e. true) and vice versa.</p> |