Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Do not need a space bewteen simcall name and arguments
[simgrid.git] / src / simix / simcalls.py
index ee7ef82..83f7d02 100755 (executable)
@@ -171,7 +171,7 @@ def parse(fn):
         if line.startswith('#') or not line:
             continue
         match = re.match(
-            r'^(\S*)\s*(\S*)\s*\(*([^\(\)]*)\)\s*(\[\[.*\]\])?\s*;\s*?$', line)
+            r'^(\S+)\s+([^\)\(\s]+)\s*\(*([^\(\)]*)\)\s*(\[\[.*\]\])?\s*;\s*?$', line)
         assert match, line
         ret, name, args, attrs = match.groups()
         sargs = []