unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
blob 447b64cf1cecbf1f1a18cbbfc1c8eb6226790d13 552 bytes (raw)
name: test/manual/indent/tcl.tcl 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 

puts "hello}"; # Top-level strings can contain unescaped closing braces!

puts a"b;                  # Non-delimited strings can contain quotes!
puts a""b;                 # Even several of them!

proc foo1 {} {
    puts "hello";   # Normal case!
    puts "hello\};  # This will signal an error when `foo1` is called!
}

proc foo1 {} {
    puts "hello; # This will also signal an error when `foo1` is called!
}

proc foo1 {} {
    puts a"b;                   # This will not signal an error!
    puts a""b";                 # And that won't either!
}

debug log:

solving 447b64cf1c ...
found 447b64cf1c in https://yhetil.org/emacs-bugs/jwv5z6vi9z2.fsf-monnier+emacs@gnu.org/

applying [1/1] https://yhetil.org/emacs-bugs/jwv5z6vi9z2.fsf-monnier+emacs@gnu.org/
diff --git a/test/manual/indent/tcl.tcl b/test/manual/indent/tcl.tcl
new file mode 100644
index 0000000000..447b64cf1c

Checking patch test/manual/indent/tcl.tcl...
Applied patch test/manual/indent/tcl.tcl cleanly.

index at:
100644 447b64cf1cecbf1f1a18cbbfc1c8eb6226790d13	test/manual/indent/tcl.tcl

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).