Move endian, float format and XDR settings to cmakedefine01
[alexxy/gromacs.git] / docs / doxygen / gmxtree.py
index a693fe921a081c1e7372367f6549c1e4e9f74b53..c4126d4bcf0516a9feeb18784b736d0815e3ba5f 100644 (file)
@@ -215,7 +215,7 @@ class File(object):
         """Scan the file contents and initialize information based on it."""
         # TODO: Consider a more robust regex.
         include_re = r'^\s*#\s*include\s+(?P<quote>["<])(?P<path>[^">]*)[">]'
-        define_re = r'^\s*#.*define\s+(\w*)'
+        define_re = r'^\s*#.*define(?:01)?\s+(\w*)'
         current_block = None
         with open(self._abspath, 'r') as scanfile:
             contents = scanfile.read()