Added regex match for comparison operators
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user