mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
fix indentation
This commit is contained in:
parent
cbef8c4776
commit
289ffee2a0
1 changed files with 6 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue