From 03b2582a6cd9d617d46f05e2a934a4fb16f1811a Mon Sep 17 00:00:00 2001 From: Don Ho Date: Thu, 30 May 2013 21:22:45 +0000 Subject: [PATCH] [UPDATE] Enhance C++ parser for function list. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1051 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/functionList.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/PowerEditor/src/functionList.xml b/PowerEditor/src/functionList.xml index 6ad619ca4..354dfbb34 100644 --- a/PowerEditor/src/functionList.xml +++ b/PowerEditor/src/functionList.xml @@ -37,22 +37,22 @@ + mainExpr="^[\t ]*((static|const|virtual)[\s]+)?([\w]+([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+))?([\w_]+[\s]*::)?(?!(if|while|for|switch))[\w_~]+[\s]*\([\n\w_,*&\s]*\)([\s]*const[\s]*)?[\n\s]*\{"> - - + + - - + + @@ -66,8 +66,8 @@ mainExpr="function[\s]+[\w]*[\s]+\([^\)\(]*\)[\n\s]*\{" displayMode="$className->$functionName"> - - + + @@ -89,20 +89,20 @@ + mainExpr="^[\t ]*((static|const|virtual)[\s]+)?([\w]+([\s]+|\*[\s]+|[\s]+\*|[\s]+\*[\s]+))?([\w_]+[\s]*::)?(?!(if|while|for|switch))[\w_~]+[\s]*\([^\)\(]*\)([\s]*const[\s]*)?[\n\s]*\{"> - - + + - - + +