Welcome back, everyone.
In this lecture, we're going to implement the new line token.
So just head over to Lexus C and buy here.
We're going to say case new line.
And just in here, we're going to say token equals token, make new line and let's just get rid of that
underscore because we don't need that.
Right.
So just scroll up and just buy here.
We're going to say struct token, token, make new line and we're just going to go next, see to read
off the new line character and we're going to say return token create ampersand struct token dot type
equals token new line, token type new line.
And the new line token really is that simple.
So just go to the terminal and we're going to say make clean, make and we run main and we can see everything
compiled files so everything works fine.
And just in test, let's see if we start making new lines here.
You can see the new lines are now recognized.
So perfect.
Congratulations.
Nice, easy lecture.