RIP tp::Strings
This commit is contained in:
parent
fa2d0aaa92
commit
1756ca026d
90 changed files with 419 additions and 1475 deletions
|
|
@ -22,7 +22,7 @@ public:
|
|||
virtual void lalr_vprintf(const char* format, va_list args) override { printf(format, args); }
|
||||
};
|
||||
|
||||
Parser::Result Parser::parse(const tp::String& stream) {
|
||||
Parser::Result Parser::parse(const std::string& stream) {
|
||||
|
||||
CustomErrorPolicy errorPolicy;
|
||||
|
||||
|
|
@ -30,8 +30,8 @@ Parser::Result Parser::parse(const tp::String& stream) {
|
|||
|
||||
bind(parser);
|
||||
|
||||
std::string streamStd(stream.read());
|
||||
streamStd += "\n"; // for windows os to make happy
|
||||
std::string streamStd(stream.c_str());
|
||||
streamStd += "\n"; // for windows os to be happy
|
||||
|
||||
ASSERT(parser.valid());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue