mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:17:35 +00:00
Shell: Add support for the bashy list literals in POSIX mode
This is currently only allowed in assignments, where x=(...) is parsed as the assignment of the list (...) to the variable x.
This commit is contained in:
parent
ebe254a6d3
commit
dc495e299e
5 changed files with 98 additions and 4 deletions
|
@ -451,6 +451,7 @@ public:
|
|||
virtual bool should_override_execution_in_current_process() const { return false; }
|
||||
|
||||
Position const& position() const { return m_position; }
|
||||
Position& position() { return m_position; }
|
||||
virtual void clear_syntax_error();
|
||||
virtual void set_is_syntax_error(SyntaxError& error_node);
|
||||
virtual SyntaxError& syntax_error_node()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue