Skip to content

Commit cc5ea2d

Browse files
authored
Merge pull request #7 from Pip-Install-Party/Ryax3-develop
setup state 0 for tokenization implementation
2 parents 027b112 + 8736d43 commit cc5ea2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tokenizer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
class Tokenizer
88
{
99
private:
10+
void Tokenizer::state0(std::ifstream& file, int& lineCount, std::ostringstream& buffer);
11+
1012
public:
1113
Tokenizer() {}
1214
~Tokenizer() { delete this; };
15+
void begin(std::ifstream& file, int lineCount, std::ostringstream& buffer) { state0(file, lineCount, buffer); }
1316
};
1417

1518
#endif /* TOKENIZER */

0 commit comments

Comments
 (0)