diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-09-17 21:56:52 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-09-17 21:56:52 +0000 |
commit | 06499e6dd0043609acff788fffba8eb9d6f744d9 (patch) | |
tree | 97ed0965b873a80bc14276fd42ef0be41cc518d5 /tools | |
parent | 211f791c6cea1e8495788b853b97a10da77478fa (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-x | tools/make-dissector-reg.py | 4 |
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*\([^;]+$" |