mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
a755e95c2c
commit
4b3bfc6424
2 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ where
|
|||
|
||||
* allowed first characters are: letters, digits, and those in ```_*?`''
|
||||
* allowed following characters are the same as allowed first characters, plus
|
||||
``+++++'' and ``++-++'' .
|
||||
``+++++'', ``++-++'' and ``++.++''.
|
||||
|
||||
// ^ `+` and `-`
|
||||
|
||||
|
|
|
@ -575,7 +575,7 @@ end
|
|||
-- 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.
|
||||
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 ttab = {}
|
||||
|
|
Loading…
Reference in a new issue