mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Shell: Do not parse history events in scripts
That makes no sense!
This commit is contained in:
parent
cad7865ad1
commit
a303b69caa
Notes:
sideshowbarker
2024-07-18 21:39:50 +09:00
Author: https://github.com/alimpfard
Commit: a303b69caa
Pull-request: https://github.com/SerenityOS/serenity/pull/5652
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/BenWiederhake
4 changed files with 11 additions and 9 deletions
|
@ -37,8 +37,9 @@ namespace Shell {
|
|||
|
||||
class Parser {
|
||||
public:
|
||||
Parser(StringView input)
|
||||
Parser(StringView input, bool interactive = false)
|
||||
: m_input(move(input))
|
||||
, m_in_interactive_mode(interactive)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -163,6 +164,7 @@ private:
|
|||
Vector<char> m_extra_chars_not_allowed_in_barewords;
|
||||
bool m_is_in_brace_expansion_spec { false };
|
||||
bool m_continuation_controls_allowed { false };
|
||||
bool m_in_interactive_mode { false };
|
||||
};
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue