Changeset: a5f58681291a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a5f58681291a
Modified Files:
        testing/listexports.py.in
Branch: Jan2014
Log Message:

Deal with __declspec(noreturn) in function declarations.


diffs (12 lines):

diff --git a/testing/listexports.py.in b/testing/listexports.py.in
--- a/testing/listexports.py.in
+++ b/testing/listexports.py.in
@@ -32,7 +32,7 @@ srcdir = r'@SOURCE@'
 blddir = r'@BUILD@'
 
 cmtre = re.compile(r'/\*.*?\*/|//[^\n]*', re.DOTALL)
-expre = re.compile(r'^[ \t]*[a-zA-Z_0-9]*export\s+(?P<decl>[^;]*;)', 
re.MULTILINE)
+expre = re.compile(r'^[ \t]*(?:__declspec\(noreturn\)[ 
\t]+)?[a-zA-Z_0-9]*export\s+(?P<decl>[^;]*;)', re.MULTILINE)
 spcre = re.compile(r'\s+')
 nmere = re.compile(r'\b(?P<name>[a-zA-Z_][a-zA-Z_0-9]*)\s*[[(;]')
 strre = re.compile(r'([^ *])\*')
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to