diff options
author | Michka Popoff <michkapopoff@gmail.com> | 2015-05-20 21:52:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-21 12:28:01 (GMT) |
commit | 23931168b2a1f251154eeb5bd72eca39d72fc21b (patch) | |
tree | 4884aa9b7b77f52a6e73b3a1f01a1808b6959af9 /test/expect/gccxml.any.Field.xml.txt | |
parent | d741c9e4e56ff43dc35603327f1a8d30c8bb167c (diff) | |
download | CastXML-23931168b2a1f251154eeb5bd72eca39d72fc21b.zip CastXML-23931168b2a1f251154eeb5bd72eca39d72fc21b.tar.gz CastXML-23931168b2a1f251154eeb5bd72eca39d72fc21b.tar.bz2 |
Output: Generate throw="..." instead of throws="..."
Original gccxml output used the singular name, so we should too for
compatibility. Fix this typo left from commit defc576826 (Output:
Generate Function and related elements, 2014-02-12).
Diffstat (limited to 'test/expect/gccxml.any.Field.xml.txt')
-rw-r--r-- | test/expect/gccxml.any.Field.xml.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/expect/gccxml.any.Field.xml.txt b/test/expect/gccxml.any.Field.xml.txt index 3354c8c..a3389c1 100644 --- a/test/expect/gccxml.any.Field.xml.txt +++ b/test/expect/gccxml.any.Field.xml.txt @@ -4,14 +4,14 @@ <Field id="_3" name="field" type="_10" context="_1" access="private" location="f1:2" file="f1" line="2" offset="0"/> <Field id="_4" name="bit_field" type="_11" bits="2" context="_1" access="private" location="f1:3" file="f1" line="3" offset="32"/> <Field id="_5" name="mutable_field" type="_10" context="_1" access="private" location="f1:4" file="f1" line="4" offset="64" mutable="1"/> - <Constructor id="_6" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?> + <Constructor id="_6" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?> <Argument type="_12" location="f1:1" file="f1" line="1"/> </Constructor> - <OperatorMethod id="_7" name="=" returns="_13" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")? mangled="[^"]+"> + <OperatorMethod id="_7" name="=" returns="_13" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")? mangled="[^"]+"> <Argument type="_12" location="f1:1" file="f1" line="1"/> </OperatorMethod> - <Constructor id="_8" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/> - <Destructor id="_9" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throws="")?/> + <Constructor id="_8" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/> + <Destructor id="_9" name="start" context="_1" access="public" location="f1:1" file="f1" line="1" inline="1" artificial="1"( throw="")?/> <FundamentalType id="_10" name="int" size="[0-9]+" align="[0-9]+"/> <FundamentalType id="_11" name="unsigned int" size="[0-9]+" align="[0-9]+"/> <ReferenceType id="_12" type="_1c"/> |