diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-30 13:46:40 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-30 13:46:54 -0700 |
| commit | 624fcdcc7e8502cd8f0dc4c51669e5d1de7811b9 (patch) | |
| tree | a3391aac7d1b6e286464aecd24b0df6fddf3c63a /nomsu_tree.moon | |
| parent | 0afcb416bcdb768c029e724ba08a900e7e95ee52 (diff) | |
Moved as_lua_id() onto 'string'
Diffstat (limited to 'nomsu_tree.moon')
| -rw-r--r-- | nomsu_tree.moon | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon index 5aa8f81..1e662d7 100644 --- a/nomsu_tree.moon +++ b/nomsu_tree.moon @@ -57,10 +57,7 @@ Tree "DictEntry", 'multi' Tree "IndexChain", 'multi' Tree "Number", 'single' Tree "Comment", 'single' - -Tree "Var", 'single', - as_lua_id: => - "_"..(@value\gsub("%W", (c)-> if c == "_" then "__" else ("_%x")\format(c\byte!))) +Tree "Var", 'single' Tree "Action", 'multi', get_stub: (include_names=false)=> |
