mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
bitbake: pyshyacc: allow double COMMA statements
this allows shell statements like '; ;' to pass the parser. As it may be bad code but still valid enough to execute (Bitbake rev: b7732b1b5085bea73e17d112e1bd9ac3d4dc34fb) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
61931d14df
commit
75c3ab048b
@@ -570,6 +570,7 @@ def p_linebreak(p):
|
||||
|
||||
def p_separator_op(p):
|
||||
"""separator_op : COMMA
|
||||
| COMMA COMMA
|
||||
| AMP"""
|
||||
p[0] = p[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user