mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
freedreno/afuc: Use left recursion in parser
Otherwise we'll run out of stack space with many instructions. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26771>
This commit is contained in:
parent
c1955a0b16
commit
46681d64f6
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ label(const char *str)
|
|||
|
||||
%%
|
||||
|
||||
instrs: instr_or_label instrs
|
||||
instrs: instrs instr_or_label
|
||||
| instr_or_label
|
||||
|
||||
instr_or_label: instr_r
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue