parameters: (hfile)
return_statement: return out
docstring: Read the .h file where all documentation constants are declared
      and return the list of all doc-variables declared there.
docstring_summary: Read the .h file where all documentation constants are declared
      and return the list of all doc-variables declared there.
docstring_tokens: Read the . h file where all documentation constants are declared and return the list of all doc - variables declared there .
function: def read_header_file(hfile):
      """
      Read the .h file where all documentation constants are declared
      and return the list of all doc-variables declared there.
      """
      rx = re.compile(r"\s*extern\s+const\s+char\*\s+(doc\w+);")
      out = []
      with open(hfile, 'rt', encoding='utf-8') as inp:
          for line in inp:
              mm = re.match(rx, line)
              if mm:
                  out.append(mm.group(1))
      return out
function_tokens: def read_header_file ( hfile ) : rx = re . compile ( r"\s*extern\s+const\s+char\*\s+(doc\w+);" ) out = [ ] with open ( hfile , 'rt' , encoding = 'utf-8' ) as inp : for line in inp : mm = re . match ( rx , line ) if mm : out . append ( mm . group ( 1 ) ) return out