Added regex match for comparison operators

This commit is contained in:
2024-08-09 19:26:35 -05:00
parent 025ec775ca
commit 3678dc5161

View File

@@ -12,7 +12,7 @@
"'(.)'": BLUE
# Assignments and comparisons
# TODO: Add less than, greater than, not equal to, and struct pointer member access
'(?:\s|\b)==?(\s|\b)' : CYAN
'(?:\s|\b)(=|==|!=|<=|>=|\->)(\s|\b)' : CYAN
# Keywords
'\b(if|else|while|do|for|return)\b': CYAN
'^(#ifdef|#ifndef|#define|#include)\b': CYAN