For backward compatiblity (for example with Proof), re-add support for .include

This commit is contained in:
Philippe Canal 2014-05-30 09:24:06 -05:00 committed by sftnight
parent 63de420f9c
commit eb1b61cd1a

View File

@ -286,7 +286,9 @@ namespace cling {
}
bool MetaParser::isICommand() {
if (getCurTok().is(tok::ident) && getCurTok().getIdent().equals("I")) {
if (getCurTok().is(tok::ident) &&
( getCurTok().getIdent().equals("I")
|| getCurTok().getIdent().equals("include"))) {
consumeAnyStringToken(tok::eof);
llvm::StringRef path;
if (getCurTok().is(tok::raw_ident))