summaryrefslogtreecommitdiff
path: root/compiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.c')
-rw-r--r--compiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler.c b/compiler.c
index 2081209..7f90f47 100644
--- a/compiler.c
+++ b/compiler.c
@@ -499,7 +499,7 @@ char *KEYTYPES = "uint8,uint16,uint32,uint64,uint,int8,int16,int32,int64,int,flo
char *RESERVED = "~`!@#$%^&*()[]{}+-=\"\'\\|:;/?>.<,";
char *OPS = "~`!%&|^*/+-=.<>";
-char *MULTI_OPS = "==,&&,||,^^,!==,!&&,!||,!^^,!<,!>,<<,>>,!&,!|,!^,++,--,>==,<==";
+char *MULTI_OPS = "==,&&,||,^^,!==,!&&,!||,!^^,!<,!>,<<,>>,!&,!|,!^,++,--,>==,<==,+=,-=,*=,/=,%=,!=,&=,|=,^=,~=,`=";
char *DELIMS = "()[]{}";
char *MULTI_DELIMS = ";:#";
@@ -524,7 +524,7 @@ bool in_csv(char *csv, char *match) {
}
bool is_reserved(char c) {
- return strchr(MULTI_DELIMS, c) != NULL;
+ return strchr(RESERVED, c) != NULL;
}
bool is_delim(char *data) {