From 329a6bad0be8e987bdbee4b1ffd2ba2854d4ea49 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Thu, 11 Jan 2018 11:58:15 +0300 Subject: [PATCH] #477 keyword/api should have space before --- src/tic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tic.c b/src/tic.c index 6bd2c7c..2df695f 100644 --- a/src/tic.c +++ b/src/tic.c @@ -2119,7 +2119,7 @@ void parseCode(const tic_script_config* config, const char* start, u8* color, co ptr += strlen(config->singleComment); continue; } - else if(isalpha_(c)) + else if(isalpha_(c) && isspace(ptr[-1])) { wordStart = ptr; ptr++;