summaryrefslogtreecommitdiff
path: root/syntax.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
committerpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
commit2515bf34a97620ffbfcf5db8451c422ccf132cf8 (patch)
tree4758ae1fe8aad9c9ba905913d586710795ee6a59 /syntax.c
parentad8c5d1466eb8edf2e6343f28026ae993ac31f2c (diff)
fix iwndows build
Diffstat (limited to 'syntax.c')
-rw-r--r--syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax.c b/syntax.c
index 53c2425..c7c4d6e 100644
--- a/syntax.c
+++ b/syntax.c
@@ -720,7 +720,7 @@ static void syntax_highlight_python(SyntaxState *state, const char32_t *line, u3
bool string_is_dbl_quoted = (*state & SYNTAX_STATE_PYTHON_STRING_DBL_QUOTED) != 0;
bool string_is_multiline = true;
bool in_number = false;
- uint backslashes = 0;
+ u32 backslashes = 0;
for (u32 i = 0; i < line_len; ++i) {
char32_t c = line[i];
@@ -1356,7 +1356,7 @@ static void syntax_highlight_javascript_like(
bool string_is_regex = false;
bool in_number = false;
bool in_string = string_is_template;
- uint backslashes = 0;
+ u32 backslashes = 0;
for (u32 i = 0; i < line_len; ++i) {
char32_t c = line[i];