Diff
Not logged in

Differences From Artifact [79038e8ac0f7ba6a]:

To Artifact [62182a8e7452f9e8]:


12 12 13 13 alias string Layer; 14 14 15 15 enum : Layer 16 16 { 17 17 SystemLayer = "(system)", /// Predefined layer for internal data 18 18 ValueLayer = "@value", /// Predefined layer for normal run 19 - MacroLayer = "@macro", /// Predefined layer for macro run 20 - RawMacroLayer = "(rawmacro)", /// Predefined layer for raw-macro run 19 + MacroLayer = "@macro", /// Predefined layer for macro run (@lay() changes layer) 20 + RawMacroLayer = "(rawmacro)", /// Predefined layer for macro run (@lay() becomes AST) 21 +} 22 + 23 +bool isMacroishLayer( Layer lay ) 24 +{ 25 + return lay==MacroLayer || lay==RawMacroLayer; 26 +} 27 + 28 +bool isNoLayerChangeLayer( Layer lay ) 29 +{ 30 + return lay==RawMacroLayer; 21 31 }