From c69fd987a184fc8bf27abfce30f5aace409616d2 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 8 Jun 2024 12:58:37 +0200 Subject: Sort lexeme kinds --- src/lexer.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/lexer.h b/src/lexer.h index 37b6af6..efd03df 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -7,20 +7,19 @@ enum { LEXIDENT, - LEXCOLON = ':', - LEXLBRACE = '{', - LEXLPAR = '(', - LEXRBRACE = '}', - LEXRPAR = ')', - LEXSEMI = ';', - LEXAMP = '&', + LEXCOLON = ':', LEXEQ = '=', LEXLANGL = '<', + LEXLBRACE = '{', + LEXLPAR = '(', LEXMINUS = '-', LEXPIPE = '|', LEXPLUS = '+', LEXRANGL = '>', + LEXRBRACE = '}', + LEXRPAR = ')', + LEXSEMI = ';', LEXSLASH = '/', LEXSTAR = '*', LEXTILDE = '~', -- cgit v1.2.3