Browse Source

* Added support for -I directive for include files

git-svn-id: trunk@9581 -
michael 17 years ago
parent
commit
6db4748644
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-passrc/src/pparser.pp

+ 2 - 0
packages/fcl-passrc/src/pparser.pp

@@ -2191,6 +2191,8 @@ var
         'F':
         'F':
           if s[3] = 'i' then
           if s[3] = 'i' then
             FileResolver.AddIncludePath(Copy(s, 4, Length(s)));
             FileResolver.AddIncludePath(Copy(s, 4, Length(s)));
+        'I':
+          FileResolver.AddIncludePath(Copy(s, 3, Length(s)));    
         'S':
         'S':
           if s[3]='d' then
           if s[3]='d' then
             begin
             begin