mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-19 04:17:31 +02:00
add new syntax test files
This commit is contained in:
22
tests/syntax-tests/source/Tcl/test.tcl
Normal file
22
tests/syntax-tests/source/Tcl/test.tcl
Normal file
@@ -0,0 +1,22 @@
|
||||
set part1 hello
|
||||
set part2 how; set part3 are
|
||||
set part4 you
|
||||
|
||||
set part2;
|
||||
|
||||
set greeting $part1$part2$part3$part4
|
||||
|
||||
set somevar {
|
||||
This is a literal $ sign, and this \} escaped
|
||||
brace remains uninterpreted
|
||||
}
|
||||
|
||||
set name Neo
|
||||
set greeting "Hello, $name"
|
||||
|
||||
variable name NotNeo
|
||||
|
||||
namespace eval people {
|
||||
set name NeoAgain
|
||||
}
|
||||
|
Reference in New Issue
Block a user