summaryrefslogtreecommitdiffstats
path: root/test/run.cmake
diff options
context:
space:
mode:
authorMichka Popoff <michkapopoff@gmail.com>2015-05-20 21:52:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-21 12:28:01 (GMT)
commit23931168b2a1f251154eeb5bd72eca39d72fc21b (patch)
tree4884aa9b7b77f52a6e73b3a1f01a1808b6959af9 /test/run.cmake
parentd741c9e4e56ff43dc35603327f1a8d30c8bb167c (diff)
downloadCastXML-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/run.cmake')
-rw-r--r--test/run.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run.cmake b/test/run.cmake
index fda9f00..0bcb4f0 100644
--- a/test/run.cmake
+++ b/test/run.cmake
@@ -79,7 +79,7 @@ if(msg)
string(REGEX REPLACE "^<\\?xml version=\"1.0\"\\?>" "^<\\\\?xml version=\"1.0\"\\\\?>" update_xml "${update_xml}")
string(REGEX REPLACE "<GCC_XML[^>]*>" "<GCC_XML[^>]*>" update_xml "${update_xml}")
string(REGEX REPLACE "mangled=\"[^\"]*\"" "mangled=\"[^\"]+\"" update_xml "${update_xml}")
- string(REGEX REPLACE "artificial=\"1\"( throws=\"\")?" "artificial=\"1\"( throws=\"\")?" update_xml "${update_xml}")
+ string(REGEX REPLACE "artificial=\"1\"( throw=\"\")?" "artificial=\"1\"( throw=\"\")?" update_xml "${update_xml}")
string(REGEX REPLACE "size=\"[0-9]+\" align=\"[0-9]+\"" "size=\"[0-9]+\" align=\"[0-9]+\"" update_xml "${update_xml}")
string(REGEX REPLACE "<File id=\"(f[0-9]+)\" name=\"[^\"]*/test/input/([^\"]*)\"/>" "<File id=\"\\1\" name=\".*/test/input/\\2\"/>" update_xml "${update_xml}")
string(REGEX REPLACE "</GCC_XML>$" "</GCC_XML>$" update_xml "${update_xml}")