summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-08-27 19:20:32 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-08-27 19:20:32 (GMT)
commitd65f3313739177d4d8ce27f607edf9517dc66de3 (patch)
tree77cab327fc842134c47185e7e24b0ad96ec1e1c1 /src/pre.l
parent411b252d03cb28893c209674c620352df6e14944 (diff)
downloadDoxygen-d65f3313739177d4d8ce27f607edf9517dc66de3.zip
Doxygen-d65f3313739177d4d8ce27f607edf9517dc66de3.tar.gz
Doxygen-d65f3313739177d4d8ce27f607edf9517dc66de3.tar.bz2
Bug 706916 - C++ exception specifications are no longer parsed correctly
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index a54db2c..2b217b3 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1769,8 +1769,8 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
BEGIN(CopyLine);
}
-<Start>^{B}*[a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF]+{B}*"("[^\(\)\n]*"("[^\)\n]*")"[^\)\n]*")"{B}*\n | // function list macro with one (...) argument, e.g. for K_GLOBAL_STATIC_WITH_ARGS
-<Start>^{B}*[a-z_A-Z\x80-\xFF][a-z_A-Z0-9\x80-\xFF]+{B}*"("[^\)\n]*")"{B}*\n { // function like macro
+<Start>^{B}*[_A-Z][_A-Z0-9]+{B}*"("[^\(\)\n]*"("[^\)\n]*")"[^\)\n]*")"{B}*\n | // function list macro with one (...) argument, e.g. for K_GLOBAL_STATIC_WITH_ARGS
+<Start>^{B}*[_A-Z][_A-Z0-9]+{B}*"("[^\)\n]*")"{B}*\n { // function like macro
static bool skipFuncMacros = Config_getBool("SKIP_FUNCTION_MACROS");
QCString name(yytext);
name=name.left(name.find('(')).stripWhiteSpace();