[jsinterp] Fix and improve expression parsing
authordirkf <fieldhouse@gmx.net>
Thu, 20 Jun 2024 01:36:54 +0000 (02:36 +0100)
committerdirkf <fieldhouse@gmx.net>
Thu, 20 Jun 2024 19:03:49 +0000 (20:03 +0100)
commitfd8242e3efd3c0e2ba9a45c662d6983c00b21d6d
treeb8366c0a7cc2bd79cdc00fcdf063ea99425fe99f
parentad01fa6ccadd1ecade8002e937492a141d3b8f25
[jsinterp] Fix and improve expression parsing
* improve BODMAS (fixes https://github.com/ytdl-org/youtube-dl/issues/32815)
* support more weird expressions with multiple unary ops
youtube_dl/jsinterp.py