Added the token class
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
#include <LXC.h>
|
||||
|
||||
#include <Lexer.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
using namespace LXC;
|
||||
|
||||
//
|
||||
|
||||
Lexer::LexerContext context;
|
||||
Lexer::Token exampleToken(context, 2);
|
||||
|
||||
//
|
||||
|
||||
Util::ReturnVal fileContents = Util::ReadFile("example/example.lx");
|
||||
|
||||
if (fileContents.Suceeded())
|
||||
|
||||
Reference in New Issue
Block a user