aboutsummaryrefslogtreecommitdiffhomepage
path: root/errortest/slul-interfaces/bad_header.slul
blob: cca09761cea5e2c22307960425b9260966613716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

\slul 0.0.0
\name bad_header
# ERROR .7: error: Unknown module type 'wrongtype'
\type wrongtype
# ERROR .14: error: Invalid flag to \version
\version 1.2 badflag
# ERROR .9: error: Value for module attribute \depends is missing
\depends
# ERROR .10: error: Module names must start with a letter, a-z
\depends 1xy 1.0
# ERROR .13: error: Versions must start with a digit (0-9)
\depends xy xy
# ERROR .1: warning: Unknown module attribute '\oops'
\oops

\api_def 1.0 12345678901234567890123456789012
\api_def 1.1 98765432109876543210987654321098
# ERROR .1: error: Duplicate \api_def
\api_def 1.1 98765432109876543210987654321098

type BadHeaderThing