glsl/apps: Fix apps after pp interface changes.
authorMichal Krol <michal@vmware.com>
Thu, 24 Sep 2009 06:43:54 +0000 (08:43 +0200)
committerMichal Krol <michal@vmware.com>
Thu, 24 Sep 2009 06:43:54 +0000 (08:43 +0200)
src/glsl/apps/process.c

index 4fff3570c1a807f0ae983c37725241c31c0f1dc6..28b415c3ffd4ead84c717cda865dc1a0ae6712aa 100644 (file)
@@ -367,11 +367,7 @@ main(int argc,
          break;
 
       case SL_PP_LINE:
-         fprintf(out, "#line %u", outtokens[i].data.line);
-         break;
-
-      case SL_PP_FILE:
-         fprintf(out, " #file %u", outtokens[i].data.file);
+         fprintf(out, "#line %u %u", outtokens[i].data.line.lineno, outtokens[i].data.line.fileno);
          break;
 
       default: