aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-17 21:56:52 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-17 21:56:52 +0000
commit06499e6dd0043609acff788fffba8eb9d6f744d9 (patch)
tree97ed0965b873a80bc14276fd42ef0be41cc518d5 /tools
parent211f791c6cea1e8495788b853b97a10da77478fa (diff)
Put back the part of the regexp's that avoids finding function prototypes.
svn path=/trunk/; revision=44955
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-dissector-reg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py
index a29626bf32..01baa0d22b 100755
--- a/tools/make-dissector-reg.py
+++ b/tools/make-dissector-reg.py
@@ -92,9 +92,9 @@ regs = {
# For those that don't know Python, r"" indicates a raw string,
# devoid of Python escapes.
-proto_regex = r"(?P<symbol>proto_register_[_A-Za-z0-9]+)\s*\(\s*void\s*\)"
+proto_regex = r"(?P<symbol>proto_register_[_A-Za-z0-9]+)\s*\(\s*void\s*\)[^;]*$"
-handoff_regex = r"(?P<symbol>proto_reg_handoff_[_A-Za-z0-9]+)\s*\(\s*void\s*\)"
+handoff_regex = r"(?P<symbol>proto_reg_handoff_[_A-Za-z0-9]+)\s*\(\s*void\s*\)[^;]*$"
wtap_reg_regex = r"(?P<symbol>wtap_register_[_A-Za-z0-9]+)\s*\([^;]+$"