This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository eshell.
View the commit online.
commit a47f7f482d0c1ca687963992d934d0ee53753cac
Author: swagtoy <m...@ow.swag.toys>
AuthorDate: Fri Nov 15 14:29:31 2024 -0500
Epic code
---
escript/include/lexer.h | 5 +++++
escript/src/lexer.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/escript/include/lexer.h b/escript/include/lexer.h
index 37ef413..09b5116 100644
--- a/escript/include/lexer.h
+++ b/escript/include/lexer.h
@@ -71,6 +71,11 @@ enum Escript_Lex_Keywords
ELEX_RSHIFT, //>>
};
+struct Escript_Token
+{
+ int x;
+}
+
struct Escript_Lexer
{
char const* current;
diff --git a/escript/src/lexer.c b/escript/src/lexer.c
index 93caffc..340d621 100644
--- a/escript/src/lexer.c
+++ b/escript/src/lexer.c
@@ -15,6 +15,7 @@ int
escript_lexer_init(struct Escript_Lexer* lex)
{
// Initialize array
+ lex->lex = eina_array_new(sizeof(struct Escript_Token));
}
static char const*
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.