Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Catch more specific exceptions.
[simgrid.git] / src / simix / simcalls.py
index 06b5b401a729349279de740d1315e05bedcfd2e1..ef75a13314febf083a3bb8a089c38668e42be802 100755 (executable)
@@ -192,7 +192,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)
         if not match:
             raise AssertionError(line)
         ret, name, args, attrs = match.groups()
@@ -318,7 +318,7 @@ if __name__ == '__main__':
     fd.write('#include "src/kernel/context/Context.hpp"\n')
 
     fd.write('\n')
-    fd.write('XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_popping);\n\n')
+    fd.write('XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);\n\n')
 
     fd.write('using simgrid::simix::Simcall;')
     fd.write('\n')