mirror of
https://github.com/nushell/nushell.git
synced 2025-04-27 22:58:20 +02:00
Add question mark parsing
This commit is contained in:
parent
6b7d9c1de0
commit
a966e88424
@ -533,6 +533,7 @@ fn is_start_bare_char(c: char) -> bool {
|
|||||||
'-' => true,
|
'-' => true,
|
||||||
'@' => true,
|
'@' => true,
|
||||||
'*' => true,
|
'*' => true,
|
||||||
|
'?' => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -548,6 +549,7 @@ fn is_bare_char(c: char) -> bool {
|
|||||||
'-' => true,
|
'-' => true,
|
||||||
'@' => true,
|
'@' => true,
|
||||||
'*' => true,
|
'*' => true,
|
||||||
|
'?' => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user