fixed errors and help tests
[voodoo-lang.git] / test / errors.err
blobebea02909f3ee5f7fdf52b0c871d4319edb39636
1 errors.voo:4: Directive wrongdirective not valid at top-level
3   wrongdirective
4   
5 errors.voo:7: Section name should be a string or a symbol
7   section 12
8   
9 errors.voo:10: let requires a symbol and an expression
11   let x
12   
13 errors.voo:13: add should have exactly 2 parameters
15   set y add 1 2 3
16   
17 errors.voo:16: let is not allowed inside iflt
19   iflt 2 3
20       let x add 2 3
21   end if
22   
23 errors.voo:22: function is only allowed at top-level
25       function bar x
26           return x
27       end function
28   
29 errors.voo:28: Invalid character (") in at-expression; expecting number or symbol
31   add 2 @"wrong"
32   
33 errors.voo:32: get-word should have exactly 2 parameters
35       let x get-word x
36   
37 errors.voo:37: get-word should have exactly 2 parameters
39       let x get-word x
40   
41 errors.voo:38: set-word should have exactly 3 parameters
43       set-word x
44   
45 errors.voo:42: '%' must be followed by a symbol
47   not %12
48   
49 errors.voo:43: '%' must be followed by a symbol
51   not %"x"
52   
53 errors.voo:48: End of input while inside block