mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
Merge 21676 and 22360/22365: support version 2 of Yodl.
This commit is contained in:
parent
d5f0dc8d07
commit
33275f59b5
1 changed files with 22 additions and 4 deletions
|
@ -1,8 +1,12 @@
|
|||
IFDEF(INCWSLEVEL)(\
|
||||
INCWSLEVEL()\
|
||||
)(\
|
||||
STARTDEF()
|
||||
)
|
||||
|
||||
DEFINEMACRO(includefile)(1)(\
|
||||
TYPEOUT(Including file ARG1)\
|
||||
comment(Yodl file: ARG1)NL()\
|
||||
comment(Yodl file: ARG1)+NL()\
|
||||
INCLUDEFILE(ARG1)\
|
||||
)
|
||||
|
||||
|
@ -10,23 +14,37 @@ DEFINEMACRO(def)(3)(\
|
|||
DEFINEMACRO(ARG1)(ARG2)(ARG3)\
|
||||
)
|
||||
DEFINEMACRO(undef)(1)(\
|
||||
IFDEF(DELETEMACRO)(\
|
||||
DELETEMACRO(ARG1)\
|
||||
)(\
|
||||
UNDEFINEMACRO(ARG1)\
|
||||
)\
|
||||
)
|
||||
DEFINEMACRO(redef)(3)(\
|
||||
IFDEF(DELETEMACRO)(\
|
||||
DELETEMACRO(ARG1)\
|
||||
)(\
|
||||
UNDEFINEMACRO(ARG1)\
|
||||
)\
|
||||
DEFINEMACRO(ARG1)(ARG2)(ARG3)\
|
||||
)
|
||||
|
||||
DEFINEMACRO(RQUOTE)(0)(CHAR(39))
|
||||
DEFINEMACRO(LPAR)(0)(CHAR(40))
|
||||
DEFINEMACRO(RPAR)(0)(CHAR(41))
|
||||
DEFINEMACRO(PLUS)(0)(CHAR(43))
|
||||
|
||||
DEFINEMACRO(NL)(0)(
|
||||
)
|
||||
DEFINEMACRO(DASH)(0)(ifztexi(--)ifnztexi(-))
|
||||
|
||||
DEFINEMACRO(NL)(0)(CHAR(10))
|
||||
|
||||
DEFINEMACRO(ifzman)(1)()
|
||||
DEFINEMACRO(ifnzman)(1)(ARG1)
|
||||
DEFINEMACRO(ifztexi)(1)()
|
||||
DEFINEMACRO(ifnztexi)(1)(ARG1)
|
||||
|
||||
ENDDEF()
|
||||
IFDEF(DECWSLEVEL)(\
|
||||
DECWSLEVEL()\
|
||||
)(\
|
||||
ENDDEF()\
|
||||
)\
|
||||
|
|
Loading…
Reference in a new issue