projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1447d
)
glsl/apps: Fix apps after pp interface changes.
author
Michal Krol
<michal@vmware.com>
Thu, 24 Sep 2009 06:43:54 +0000
(08:43 +0200)
committer
Michal Krol
<michal@vmware.com>
Thu, 24 Sep 2009 06:43:54 +0000
(08:43 +0200)
src/glsl/apps/process.c
patch
|
blob
|
history
diff --git
a/src/glsl/apps/process.c
b/src/glsl/apps/process.c
index 4fff3570c1a807f0ae983c37725241c31c0f1dc6..28b415c3ffd4ead84c717cda865dc1a0ae6712aa 100644
(file)
--- a/
src/glsl/apps/process.c
+++ b/
src/glsl/apps/process.c
@@
-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: