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 dcac38a3a3055e32c4eda50a57814014b758659c
Author: swagtoy <m...@ow.swag.toys>
AuthorDate: Tue Nov 12 13:03:48 2024 -0500

    lexer: More lex enums
---
 escript/include/lexer.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/escript/include/lexer.h b/escript/include/lexer.h
index 65eacfc..79188a5 100644
--- a/escript/include/lexer.h
+++ b/escript/include/lexer.h
@@ -11,6 +11,7 @@ enum Escript_Lex_Types
 {
 	ELEXT_STRING,
 	ELEXT_BOOL,
+	ELEXT_TABLE,
 	ELEXT_ARRAY,
 	ELEXT_INT,
 	ELEXT_DOUBLE,
@@ -53,6 +54,22 @@ enum Escript_Lex_Keywords
 	ELEX_COMP_LTEQ,  // <=
 	ELEX_COMP_GTEQ,  // >=
 	ELEX_COMP_SPACESHIP, // <=>
+	
+	// numbery operators
+	ELEX_PLUS,
+	ELEX_MINUS,
+	ELEX_DIVIDE,
+	ELEX_MULTIPLY,
+	ELEX_FLOORDIVIDE,
+	ELEX_POW,
+	
+	// bitshift (it's possible!)
+	ELEX_BIT_AND, //&
+	ELEX_BIT_OR,  //|
+	ELEX_BIT_XOR, //^
+	ELEX_BIT_NOT, //~
+	ELEX_LSHIFT,  //<<
+	ELEX_RSHIFT,  //>>
 };
 
 struct Escript_Lexer

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to