From 149a531652da670c3f9c796d73e17b5a985383c1 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 18 Nov 2016 07:23:44 +0100 Subject: Removed support for apostrophes in constants Supporting apostrophes (`'`) inside constants or variables is no longer necessary thanks to the more strict AegisName ruleset we're using now. Signed-off-by: Haru --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/script.c b/src/map/script.c index 2a39bc832..5ebbf2100 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -771,7 +771,7 @@ const char* skip_word(const char* p) p += ( p[1] == '@' ? 2 : 1 ); break; } - while( ISALNUM(*p) || *p == '_' || *p == '\'' ) + while (ISALNUM(*p) || *p == '_') ++p; // postfix -- cgit v1.2.3-60-g2f50