"""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>[^">]*)[">]'
"""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>[^">]*)[">]'
current_block = None
with open(self._abspath, 'r') as scanfile:
contents = scanfile.read()
current_block = None
with open(self._abspath, 'r') as scanfile:
contents = scanfile.read()