diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-01-28 18:40:41 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-01-28 18:40:41 +0100 |
commit | 0ae14e7400b2e4a6cf76d7e185433f5f901b5592 (patch) | |
tree | fa53dfb22a1185f196e947a2c3a91e5fd7501f8b /tex/context/base/mkiv/syst-aux.lua | |
parent | 27e58283ca9fd418a9f49981712d8f957cafaa0c (diff) | |
download | context-0ae14e7400b2e4a6cf76d7e185433f5f901b5592.tar.gz |
2021-01-28 18:20:00
Diffstat (limited to 'tex/context/base/mkiv/syst-aux.lua')
-rw-r--r-- | tex/context/base/mkiv/syst-aux.lua | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/syst-aux.lua b/tex/context/base/mkiv/syst-aux.lua index 859e40ead..2e50a9e5c 100644 --- a/tex/context/base/mkiv/syst-aux.lua +++ b/tex/context/base/mkiv/syst-aux.lua @@ -289,11 +289,17 @@ local pattern = ( spaces * ( ( P("spaces") * space / catcodes_s ) + ( P("nospaces") * space / catcodes_n ) - + ( P("global") * space / function() global = true end ) - + ( P("unexpanded") * space / function() unexpanded = true end ) - + ( P("protected") * space / function() unexpanded = true end ) - + ( P("expanded") * space / function() expanded = true end ) - + ( C(option) * space / function(s) optional = s end ) + + ( P("global") * space / function() global = true end ) + + ( P("protected") * space / function() protected = true end) + + ( P("permanent") * space ) + + ( P("expanded") * space / function() expanded = true end) + + ( P("tolerant") * space ) + + ( P("instance") * space ) + + ( P("frozen") * space ) + + ( P("mutable") * space ) + + ( P("immutable") * space ) + + ( P("unexpanded") * space / function() protected = true end) + + ( C(option) * space / function(s) optional = s end) ) )^0 * spaces * ( C((1-S(" #["))^1) ) |