OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbef8c4
)
fix indentation
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 2 Oct 2004 15:56:50 +0000
(15:56 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 2 Oct 2004 15:56:50 +0000
(15:56 +0000)
src/mesa/shader/grammar.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/grammar.c
b/src/mesa/shader/grammar.c
index
fa2e969
..
47defd6
100644
(file)
--- a/
src/mesa/shader/grammar.c
+++ b/
src/mesa/shader/grammar.c
@@
-2771,29
+2771,23
@@
void grammar_get_last_error (byte *text, unsigned int size, int *pos)
}\
}
- if (p)
- {
- while (*p)
- {
- if (*p == '$')
- {
+ if (p) {
+ while (*p) {
+ if (*p == '$') {
const byte *r = error_param;
- while (*r)
- {
+ while (*r) {
APPEND_CHARACTER(*r)
r++;
}
-
p++;
}
- else
- {
+ else {
APPEND_CHARACTER(*p)
p++;
}
- }
}
+ }
*pos = error_position;
#undef APPEND_CHARACTER