mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02: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:
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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user