(FIX): Cleaned up a little bit, removed some notes.
This commit is contained in:
parent
c958536284
commit
f0ab2d9006
2
input.md
2
input.md
@ -14,3 +14,5 @@ this is too far`
|
||||
*this is **words***
|
||||
|
||||
## **Hello world**
|
||||
|
||||
### hello world
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
/// try to avoid using raw pointers, and only use references when needed.
|
||||
/// Reference: https://www.youtube.com/watch?v=AmjoK55h68Y&t=166s
|
||||
|
||||
// NOTE ABC
|
||||
class Node {
|
||||
protected:
|
||||
/**
|
||||
|
||||
@ -288,7 +288,6 @@ void Parser::Consume(size_t count) { this->position += count; };
|
||||
bool Parser::IsEOF() { return this->position >= this->content.length(); };
|
||||
|
||||
void Parser::ConsumeWhiteSpace() {
|
||||
// TODO: This can be optimized using an accumulator and then consuming
|
||||
char c = Peek();
|
||||
while (c == ' ' || c == '\t' || c == '\n') {
|
||||
Consume();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user