LunaCON: allow '.' as non-first identifer character.

git-svn-id: https://svn.eduke32.com/eduke32@4473 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-05-18 09:55:39 +00:00
parent a755e95c2c
commit 4b3bfc6424
2 changed files with 2 additions and 2 deletions

View file

@ -270,7 +270,7 @@ where
* allowed first characters are: letters, digits, and those in ```_*?`'' * allowed first characters are: letters, digits, and those in ```_*?`''
* allowed following characters are the same as allowed first characters, plus * allowed following characters are the same as allowed first characters, plus
``+++++'' and ``++-++'' . ``+++++'', ``++-++'' and ``++.++''.
// ^ `+` and `-` // ^ `+` and `-`

View file

@ -575,7 +575,7 @@ end
-- NOTE: in C-CON, the slash and backslash can also be part of an identifier, -- NOTE: in C-CON, the slash and backslash can also be part of an identifier,
-- but this is likely to support file names in other places. -- but this is likely to support file names in other places.
local BAD_ID_CHARS0 = "_*?" -- allowed 1st identifier chars local BAD_ID_CHARS0 = "_*?" -- allowed 1st identifier chars
local BAD_ID_CHARS1 = "_*-+?" -- allowed following identifier chars local BAD_ID_CHARS1 = "_*-+?." -- allowed following identifier chars
local function truetab(tab) local function truetab(tab)
local ttab = {} local ttab = {}