Add an error message when an illegal path is encountered.
This commit is contained in:
parent
c2cbf186e8
commit
4a861be1db
1 changed files with 4 additions and 1 deletions
|
@ -838,9 +838,12 @@ bool preprocessor_data::get_chunk()
|
|||
delete buf;
|
||||
strings_.back() += res.str();
|
||||
}
|
||||
} else {
|
||||
ERR_CF << "Illegal path '" << nfname
|
||||
<< "' found (../ not allowed).\n";
|
||||
}
|
||||
} else {
|
||||
ERR_CF << "too much nested preprocessing inclusions at "
|
||||
ERR_CF << "Too much nested preprocessing inclusions at "
|
||||
<< linenum_ << ' ' << target_.location_
|
||||
<< ". Aborting.\n";
|
||||
pop_token();
|
||||
|
|
Loading…
Add table
Reference in a new issue