Added regex match for comparison operators

master
Aadhavan Srinivasan 5 months ago
parent 025ec775ca
commit 3678dc5161

@ -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

Loading…
Cancel
Save