Core: fix extract_symbols regular expression

* lasso/extract_symbols.py:
   the regular expression was not matching declaration over multiple lines,
   and would catch argument starting with lasso_. Fixed.
This commit is contained in:
Benjamin Dauvergne 2009-09-11 15:51:49 +00:00
parent 708cbd5142
commit 5ce049c970
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if len(sys.argv) == 2+enable_wsf:
else:
srcdir = '.'
regex = re.compile('LASSO_EXPORT.*(lasso_[a-zA-Z0-9_]+)[ \t]*[\(;]')
regex = re.compile('LASSO_EXPORT[^;(]*(lasso_[a-zA-Z0-9_]+)', re.MULTILINE)
symbols = []
for header_file in glob.glob('%s/*/*.h' % srcdir) + glob.glob('%s/*.h' % srcdir) + \