Skip to content
Permalink
Browse files

Tweaked file parsing in resource checker

  • Loading branch information...
ccw808 committed Jul 7, 2019
1 parent a487b09 commit 3418ceb665378750f6b91e61b57a1915e116905d
Showing with 1 addition and 1 deletion.
  1. +1 −1 Server/mods/deathmatch/logic/CResourceChecker.cpp
@@ -626,7 +626,7 @@ long CResourceChecker::FindLuaIdentifier(const char* szLuaSource, long* plOutLen
continue;

// Look for identifier
bool bIsFirstIdent = (isalpha(c) || c == '_' || c == '$');
bool bIsFirstIdent = (isalpha(c) || c == '_' || c == '$' || c == '.' || c == ':');
bool bIsMidIdent = (isdigit(c) || bIsFirstIdent);
bool bIsNonIdent = !bIsMidIdent;

1 comment on commit 3418ceb

@StrixG

This comment has been minimized.

Copy link
Contributor

commented on 3418ceb Jul 8, 2019

Fixes #799

Please sign in to comment.
You can’t perform that action at this time.