Added regex match for comparison operators
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"'(.)'": BLUE
|
"'(.)'": BLUE
|
||||||
# Assignments and comparisons
|
# Assignments and comparisons
|
||||||
# TODO: Add less than, greater than, not equal to, and struct pointer member access
|
# 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
|
# Keywords
|
||||||
'\b(if|else|while|do|for|return)\b': CYAN
|
'\b(if|else|while|do|for|return)\b': CYAN
|
||||||
'^(#ifdef|#ifndef|#define|#include)\b': CYAN
|
'^(#ifdef|#ifndef|#define|#include)\b': CYAN
|
||||||
|
Reference in New Issue
Block a user