diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-11-07 13:09:44 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-11-07 13:09:44 +0200 |
| commit | 8dce541c96a329e3b12f3ea3794fcc8202fbd134 (patch) | |
| tree | 0b086b998c9d392242acba0a7518fa3d535b1c56 /src/lexer.l | |
| parent | bb560b4201d8b813ed3999250845f365ff9d6c50 (diff) | |
| download | ek-8dce541c96a329e3b12f3ea3794fcc8202fbd134.tar.gz ek-8dce541c96a329e3b12f3ea3794fcc8202fbd134.zip | |
simplift syntax somewhat
+ Explicit macro expansion
+ Still have to simplify AST and type stuff, probably worth rewriting or
something
Diffstat (limited to 'src/lexer.l')
| -rw-r--r-- | src/lexer.l | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lexer.l b/src/lexer.l index 2857b94..50e7c1e 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -77,8 +77,6 @@ STRING \"(\\.|[^"\\])*\" ";" {return SEMICOLON;} ":" {return COLON;} "!" {return BANG;} -"##" {return PASTE;} -"@" {return AT;} "+" {return PLUS;} "-" {return MINUS;} @@ -86,7 +84,6 @@ STRING \"(\\.|[^"\\])*\" "/" {return DIV;} "%" {return REM;} "^" {return XOR;} -"^^" {return POW;} '[^'\\]' { /* regular character constant, 'a' */ @@ -124,9 +121,6 @@ STRING \"(\\.|[^"\\])*\" "'" {return SQUOTE;} "&" {return AND;} -"&&" {return LAND;} -"|" {return OR;} -"||" {return LOR;} "~" {return TILDE;} "=" {return TO;} @@ -147,10 +141,6 @@ STRING \"(\\.|[^"\\])*\" "-=" {return MINUSSELF;} "/=" {return DIVSELF;} "%=" {return REMSELF;} -"^=" {return XORSELF;} -"^^=" {return POWSELF;} -"&=" {return ORSELF;} -"|=" {return ORSELF;} "<<=" {return LSHIFTSELF;} ">>=" {return RSHIFTSELF;} "..." {return ELLIPSIS;} |
