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:
parent
708cbd5142
commit
5ce049c970
|
@ -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) + \
|
||||
|
|
Loading…
Reference in New Issue