summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-11-18 07:23:44 +0100
committerHaru <haru@dotalux.com>2016-11-20 18:10:47 +0100
commit149a531652da670c3f9c796d73e17b5a985383c1 (patch)
treed3e51ba0d958c017cfaaeb63453634eb4c9342d8
parent985d4ead12a2007c34903e03dfc7411df1f847fd (diff)
downloadhercules-149a531652da670c3f9c796d73e17b5a985383c1.tar.gz
hercules-149a531652da670c3f9c796d73e17b5a985383c1.tar.bz2
hercules-149a531652da670c3f9c796d73e17b5a985383c1.tar.xz
hercules-149a531652da670c3f9c796d73e17b5a985383c1.zip
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 <haru@dotalux.com>
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
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