diff options
author | Linus Groh <mail@linusgroh.de> | 2022-01-15 17:10:20 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-16 01:54:48 +0100 |
commit | f0b2179bd79c4cd952ccad81e571307a6606b84e (patch) | |
tree | 34710602a459e79d85dc529d510d72da388b016f /Userland/Libraries/LibGUI/Progressbar.cpp | |
parent | e730ada07d6b68fdc4e76f1e9028a06f0c8f3c40 (diff) | |
download | serenity-f0b2179bd79c4cd952ccad81e571307a6606b84e.zip |
LibJS: Don't require ParenClose in Parser::parse_formal_parameters()
The parentheses are dealt with outside this function, so we shouldn't
use the (non)existence of one as the condition for consuming another
comma and then parameter. Just check for a comma instead. This becomes
relevant when parsing standalone function parameters as per the spec in
the CreateDynamicFunction AO.
Diffstat (limited to 'Userland/Libraries/LibGUI/Progressbar.cpp')
0 files changed, 0 insertions, 0 deletions