diff options
Diffstat (limited to 'TAO/TAO_IDL/fe/idl.ll')
-rw-r--r-- | TAO/TAO_IDL/fe/idl.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/fe/idl.ll b/TAO/TAO_IDL/fe/idl.ll index bb64fa47819..608ae2e30bf 100644 --- a/TAO/TAO_IDL/fe/idl.ll +++ b/TAO/TAO_IDL/fe/idl.ll @@ -282,6 +282,10 @@ L"'"\\u([0-9a-fA-F]{1,4})"'" { idl_global->set_lineno(idl_global->lineno() + 1); idl_store_pragma(ace_yytext); } +^#[ \t]*file[ \t].*{NL} | +^\?\?=[ \t]*file[ \t].*{NL} {/* ignore file */ + idl_global->set_lineno(idl_global->lineno() + 1); + } ^#[ \t]*[0-9]*" ""\""[^\"]*"\""" "[0-9]*([ \t]*[0-9]*)?{NL} | ^\?\?=[ \t]*[0-9]*" ""\""[^\"]*"\""" "[0-9]*([ \t]*[0-9]*)?{NL} { idl_parse_line_and_file(ace_yytext); |