interplane.Get Omega
Read in your language

tree-sitter-omega

aien-dev/tree-sitter-omega

Brought by drakestapleton

branch main Branches Tags History

tree-sitter-omega / test / corpus / errors.txt

52 lines · 1290 bytes Raw Blame History
1================================================================================
2Missing end is an error
3:error
4================================================================================
5
6fn main to int
7ret 0
8
9--------------------------------------------------------------------------------
10
11(ERROR)
12
13================================================================================
14Unclosed group is an error
15:error
16================================================================================
17
18fn main to int
19ret (int 0
20end
21
22--------------------------------------------------------------------------------
23
24(ERROR)
25
26================================================================================
27Unterminated text is an error
28:error
29================================================================================
30
31text t "abc
32fn main to int
33ret 0
34end
35
36--------------------------------------------------------------------------------
37
38(ERROR)
39
40================================================================================
41A statement outside a function is an error
42:error
43================================================================================
44
45x = 5
46fn main to int
47ret 0
48end
49
50--------------------------------------------------------------------------------
51
52(ERROR)