aboutsummaryrefslogtreecommitdiff
path: root/tools/tree-sitter/test/corpus/empty_proc.txt
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-05 00:26:05 +0200
committerEugen Wissner <belka@caraus.de>2026-10-05 01:00:50 +0200
commita9f6cfb6a8b6d38057faca067c015da1f72cf62d (patch)
treedb4e740db52df8be62bda5d2101603910107b7d4 /tools/tree-sitter/test/corpus/empty_proc.txt
parent5b7f983b3912a8d0fbeaf22f7fe0e2c5f1e0ff01 (diff)
downloadelna-a9f6cfb6a8b6d38057faca067c015da1f72cf62d.tar.gz
Add a treesitter grammar
Diffstat (limited to 'tools/tree-sitter/test/corpus/empty_proc.txt')
-rw-r--r--tools/tree-sitter/test/corpus/empty_proc.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/tree-sitter/test/corpus/empty_proc.txt b/tools/tree-sitter/test/corpus/empty_proc.txt
new file mode 100644
index 0000000..338c2fb
--- /dev/null
+++ b/tools/tree-sitter/test/corpus/empty_proc.txt
@@ -0,0 +1,21 @@
+==================
+empty_proc
+==================
+
+module
+
+proc f()
+return
+
+end.
+
+---
+
+(source_file
+ (module_declaration
+ (procedure_declaration
+ (identifier_definition
+ (identifier))
+ (parameter_list)
+ (procedure_body
+ (return_clause)))))