diff options
Diffstat (limited to 'nn/tools/api/generate_api.py')
-rwxr-xr-x | nn/tools/api/generate_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/tools/api/generate_api.py b/nn/tools/api/generate_api.py index 3f309ed5a..00081bc2c 100755 --- a/nn/tools/api/generate_api.py +++ b/nn/tools/api/generate_api.py @@ -277,7 +277,7 @@ class Specification(Reader): key = match[1] assert not key in self.defmacro, "Duplicate definition of \"" + key + "\" on " + self.context() tail = match[2] - match = re.search("\s*(.*)$", tail) + match = re.search("\s(.*)$", tail) if match: self.defmacro[key] = match[1] else: |