diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-21 18:19:06 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-21 18:19:06 +0000 |
| commit | 382731efbbbb05757bde44061282ddb9f8f70d0e (patch) | |
| tree | d21473643543997be263233c479a10017b681918 | |
| parent | 2878cce4d448efd8563736b9e93945517457d76f (diff) | |
refined symbol regex
| -rw-r--r-- | lasso/extract_symbols.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/extract_symbols.py b/lasso/extract_symbols.py index 0fa7c466..0f826d61 100644 --- a/lasso/extract_symbols.py +++ b/lasso/extract_symbols.py @@ -11,7 +11,7 @@ else: symbols = [] for header_file in glob.glob('%s/*/*.h' % srcdir) + glob.glob('%s/*.h' % srcdir): - symbols.extend(re.findall('LASSO_EXPORT.*(lasso_[a-zA-Z_]+)', file(header_file).read())) + symbols.extend(re.findall('LASSO_EXPORT.*(lasso_[a-zA-Z0-9_]+).*\(', file(header_file).read())) for s in symbols: print s |
