File: zmacros.yo

package info (click to toggle)
zsh 5.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,324 kB
  • ctags: 8,554
  • sloc: ansic: 104,868; sh: 6,584; perl: 813; makefile: 774; awk: 388; sed: 16
file content (51 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
IFDEF(INCWSLEVEL)(\
INCWSLEVEL()\
)(\
STARTDEF()
)

DEFINEMACRO(includefile)(1)(\
  TYPEOUT(Including file ARG1)\
  comment(Yodl file: ARG1)+NL()\
  INCLUDEFILE(ARG1)\
)

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(LSQUARE)(0)(CHAR(91))

DEFINEMACRO(DASH)(0)(ifztexi(--)ifnztexi(-))

DEFINEMACRO(NL)(0)(CHAR(10))

DEFINEMACRO(ifzman)(1)()
DEFINEMACRO(ifnzman)(1)(ARG1)
DEFINEMACRO(ifztexi)(1)()
DEFINEMACRO(ifnztexi)(1)(ARG1)

IFDEF(DECWSLEVEL)(\
DECWSLEVEL()\
)(\
ENDDEF()\
)\