Add array support for local/export/readonly builtins
Add array length syntax ${arr[#]}
Map read path now expands variables before splitting on ., fixing map "$node" with dotted paths
Map assignment path uses quote-aware token splitting, enabling quoted keys like "--type="
Completion errors now display above prompt instead of being overwritten
Fix nested if/fi parser bug when closing keywords appear on separate lines
Add QuoteState enum, replacing ad-hoc quote tracking booleans across lexer, highlighter, and expansion
Add split_tk_at/split_tk for quote-aware token splitting with span preservation
Refactor setup_builtin to accept optional argv for deferred expansion
Add ariadne dependency (not yet wired up)
This commit is contained in:
@@ -1035,6 +1035,7 @@ impl ParseStream {
|
||||
};
|
||||
cond_nodes.push(cond_node);
|
||||
|
||||
self.catch_separator(&mut node_tks);
|
||||
if !self.check_keyword("elif") || !self.next_tk_is_some() {
|
||||
break;
|
||||
} else {
|
||||
@@ -1043,6 +1044,7 @@ impl ParseStream {
|
||||
}
|
||||
}
|
||||
|
||||
self.catch_separator(&mut node_tks);
|
||||
if self.check_keyword("else") {
|
||||
node_tks.push(self.next_tk().unwrap());
|
||||
self.catch_separator(&mut node_tks);
|
||||
|
||||
Reference in New Issue
Block a user