diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page')
-rw-r--r-- | tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page new file mode 100644 index 00000000..c28cc8fa --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_nested_parameter.page @@ -0,0 +1,73 @@ +<?xml version="1.0"?> +<page id="Regress.test_nested_parameter" + type="topic" + style="function" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + <link xref="index" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>void</api:type> + </api:returns> + <api:name>regress_test_nested_parameter</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>regress_test_nested_parameter</title> + +<synopsis><code mime="text/x-csrc"> +void regress_test_nested_parameter (int a); +</code></synopsis> + + + <p><informaltable> + <tgroup cols="3"> + <thead> + <row> + <entry>Syntax</entry> + <entry>Explanation</entry> + <entry>Examples</entry> + </row> + </thead> + <tbody> + <row> + <entry>rgb(@r, @g, @b)</entry> + <entry>An opaque color; @r, @g, @b can be either integers between + 0 and 255 or percentages</entry> + <entry><literallayout>rgb(128, 10, 54) +rgb(20%, 30%, 0%)</literallayout></entry> + </row> + <row> + <entry>rgba(@r, @g, @b, <code>a</code>)</entry> + <entry>A translucent color; @r, @g, @b are as in the previous row, + <code>a</code> is a floating point number between 0 and 1</entry> + <entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry> + </row> + </tbody> + </tgroup> +</informaltable></p><p>What we're testing here is that the scanner ignores the <code>a</code> nested inside XML.</p> + + + + +<terms> +<item> +<title><code>a</code></title> +<p>An integer</p> +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + + + +</page> |