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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user