glsl: Handle file tokens in apps/process.
authorMichal Krol <michal@vmware.com>
Fri, 4 Sep 2009 13:29:35 +0000 (15:29 +0200)
committerMichal Krol <michal@vmware.com>
Mon, 7 Sep 2009 08:12:11 +0000 (10:12 +0200)
src/glsl/apps/process.c

index ca96d62f784924e7facd24d1f94f140150785e13..71211ccb727f52bb3f5f90b0355147b017125d77 100644 (file)
@@ -348,6 +348,10 @@ main(int argc,
          fprintf(out, "#line %u", outtokens[i].data.line);
          break;
 
+      case SL_PP_FILE:
+         fprintf(out, " #file %u", outtokens[i].data.file);
+         break;
+
       default:
          assert(0);
       }