diff --git a/lib/PreProcessor.php b/lib/PreProcessor.php index e4dd405..bcdf102 100755 --- a/lib/PreProcessor.php +++ b/lib/PreProcessor.php @@ -225,7 +225,7 @@ private function resolveInclude(?Token $arg, string $contextFile): array { } private function findHeaderFile(string $header, string $contextDir, string $contextFile): string { - if ($header[0] === '/') { + if ($header[0] === '/' || ($header[1] === ':' && $header[2] === '\\')) { if (file_exists($header)) { return $header; }