diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2005-01-27 09:58:31 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2005-01-27 09:58:31 +0000 |
commit | 640892cc83522ca1fe77a5ac977e4e162fb956f6 (patch) | |
tree | ad96d6b614f332fef2f2e703b8f5c9260cb1b840 /lasso/extract_symbols.py | |
parent | 045505afc2ea50edb4714037640df59308b5ea05 (diff) | |
download | lasso-640892cc83522ca1fe77a5ac977e4e162fb956f6.tar.gz lasso-640892cc83522ca1fe77a5ac977e4e162fb956f6.tar.xz lasso-640892cc83522ca1fe77a5ac977e4e162fb956f6.zip |
correctly deals with multiple elements for the same query part
Diffstat (limited to 'lasso/extract_symbols.py')
-rw-r--r-- | lasso/extract_symbols.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lasso/extract_symbols.py b/lasso/extract_symbols.py index 05c4df33..7db9c3b2 100644 --- a/lasso/extract_symbols.py +++ b/lasso/extract_symbols.py @@ -15,6 +15,13 @@ symbols = [] for header_file in glob.glob('%s/*/*.h' % srcdir) + glob.glob('%s/*.h' % srcdir): symbols.extend(regex.findall(file(header_file).read().replace('\\\n', ''))) +wsf = ['lasso_disco', 'lasso_dst', 'lasso_is', 'lasso_profile_service', + 'lasso_discovery', 'lasso_wsf', 'lasso_interaction', 'lasso_utility' ] + for s in symbols: - print s + for t in wsf: + if s.startswith(t): + break + else: + print s |