File: 06

package info (click to toggle)
xfpt 1.00-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 856 kB
  • sloc: ansic: 1,775; sh: 176; perl: 140; makefile: 69
file content (72 lines) | stat: -rw-r--r-- 967 bytes parent folder | download
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.include stdflags
.include "stdmacs"

This input file is another error tester.

.inliteral layout
.endinliteral

.macro xxx
.inliteral junk
.endinliteral
.endmacro

.xxx

.literal junk

. Macro with no name
.macro

.nest junk

. Macro with directive not allowed in inline call
.macro ttt
.echo "Echo message"
.endmacro

.ttt

The quick brown &ttt().

. Macro nesting not allowed in inline call
.macro zzz
.ttt
.endmacro

.zzz

The quick brown &zzz().

. Unknown macro in inline call
The quick brown &unknown() animal.

. Missing ) in inline call
The quick brown &zzz( is wrong.

. Misuse of $+ and $=
.macro plusbad
ABC $+2 XYZ
PQR $= LMN
PQR $=
ABC $X YZ $0 test
.endmacro

.plusbad

. Flag nesting error
The &`italic &*bold`& missing.

. Missing end flag
The &`italic without end.

. Bad ampersand
Pack my box &

. Bad .nest in a paragraph
The start of the paragraph.
.nest unknown
The end of the paragraph.

. Missing endmacro at eof - must be last
.macro endless