OpenMP sentinels added

This commit is contained in:
Anthony Scemama 2012-11-27 01:12:16 +01:00
parent f08f90321b
commit 017cbcb43f
1 changed files with 2 additions and 0 deletions

View File

@ -153,6 +153,8 @@ instead of
return [ Openmp(i,line,filename) ], is_doc
elif lower_line0[1:5] in ["dec$", "dir$"] and command_line.directives:
return [ Directive(i,line,filename) ], is_doc
elif lower_line0[1:3] == "$ ":
return [ Openmp(i,line,filename) ], is_doc
if re_decl.match(lower_line) is not None:
if "function" in buffer[1:3]: