From 87343a388f753e32d0528268836de2fcb7abc7c6 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Thu, 11 Jan 2018 13:46:23 +0300 Subject: [PATCH] #477 keyword/api not valid if we have dot before --- src/tic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tic.c b/src/tic.c index 2df695f..30853ee 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) && isspace(ptr[-1])) + else if(isalpha_(c) && ptr[-1] != '.') { wordStart = ptr; ptr++;