]> git.sur5r.net Git - cc65/blobdiff - src/cc65/preproc.c
Removed unneeded include files.
[cc65] / src / cc65 / preproc.c
index 4fcdb40d25084526d77d5b507bdfbdc1f2f6b564..8edeacdd79bb20ab8761b88f402feb3445358986 100644 (file)
@@ -1112,7 +1112,7 @@ static void DoInclude (void)
 /* Open an include file. */
 {
     char       RTerm;
-    unsigned   DirSpec;
+    InputType   IT;
     StrBuf      Filename = STATIC_STRBUF_INITIALIZER;
 
 
@@ -1129,12 +1129,12 @@ static void DoInclude (void)
 
                case '\"':
                    RTerm   = '\"';
-                   DirSpec = INC_USER;
+                   IT = IT_USRINC;
                    break;
 
                case '<':
                    RTerm   = '>';
-                   DirSpec = INC_SYS;
+                   IT = IT_SYSINC;
                    break;
 
                default:
@@ -1153,7 +1153,7 @@ static void DoInclude (void)
     /* Check if we got a terminator */
     if (CurC == RTerm) {
         /* Open the include file */
-        OpenIncludeFile (SB_GetConstBuf (&Filename), DirSpec);
+        OpenIncludeFile (SB_GetConstBuf (&Filename), IT);
     } else if (CurC == '\0') {
                /* No terminator found */
                PPError ("#include expects \"FILENAME\" or <FILENAME>");