mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
languages support (WIP)
This commit is contained in:
parent
0837cf4f03
commit
7bf70bb26e
21 changed files with 456 additions and 38 deletions
|
|
@ -70,6 +70,7 @@ protected:
|
|||
uint linestart = 0;
|
||||
|
||||
virtual void skipWhitespace();
|
||||
void skipLine();
|
||||
void expect(char expected);
|
||||
char peek();
|
||||
char nextChar();
|
||||
|
|
@ -79,7 +80,7 @@ protected:
|
|||
std::string parseName();
|
||||
int64_t parseSimpleInt(int base);
|
||||
bool parseNumber(int sign, number_u& out);
|
||||
std::string parseString(char chr);
|
||||
std::string parseString(char chr, bool closeRequired=true);
|
||||
|
||||
parsing_error error(std::string message);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue