aboutsummaryrefslogtreecommitdiff
path: root/tools/tree-sitter/test/corpus/block_variables.txt
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-09 14:43:11 +0200
committerEugen Wissner <belka@caraus.de>2026-10-09 14:43:11 +0200
commit134d3ac4caff6d87c79b0892e57073594cb0064c (patch)
treee93c73d59ee50f3bdaa073bb5908ae3c74f7a985 /tools/tree-sitter/test/corpus/block_variables.txt
parent244449004fb62adbfd43b81e8dfce7500ca4a7e4 (diff)
downloadelna-134d3ac4caff6d87c79b0892e57073594cb0064c.tar.gz
Remove Pointer and nil support
Diffstat (limited to 'tools/tree-sitter/test/corpus/block_variables.txt')
-rw-r--r--tools/tree-sitter/test/corpus/block_variables.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/tree-sitter/test/corpus/block_variables.txt b/tools/tree-sitter/test/corpus/block_variables.txt
new file mode 100644
index 0000000..8c6698c
--- /dev/null
+++ b/tools/tree-sitter/test/corpus/block_variables.txt
@@ -0,0 +1,25 @@
+==================
+block_variables
+==================
+
+program()
+
+begin
+ block b
+ var
+ x: Int
+ end
+end.
+
+---
+
+(source_file
+ (program_declaration
+ (block_statement
+ (identifier)
+ (block
+ (var_section
+ (variable_declaration
+ (identifier_definition
+ (identifier))
+ (identifier)))))))