1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 00:45:08 +00:00

Shell: Move everything to the Shell namespace

Also provide a basic default-constructor.
This commit is contained in:
AnotherTest 2020-10-01 18:13:01 +03:30 committed by Andreas Kling
parent 34039d6639
commit f164b808b5
17 changed files with 115 additions and 17 deletions

View file

@ -29,6 +29,8 @@
#include <stdio.h>
#include <unistd.h>
namespace Shell {
Parser::SavedOffset Parser::save_offset() const
{
return { m_offset, m_line };
@ -1350,3 +1352,5 @@ StringView Parser::consume_while(Function<bool(char)> condition)
return m_input.substring_view(start_offset, m_offset - start_offset);
}
}