annotate runtime/indent/testdir/tcl.ok @ 20534:ae758aa4ee5e
v8.2.0821
patch 8.2.0821: Vim9: memory leak in expr test
Commit: https://github.com/vim/vim/commit/45a1508a229b1d1d2eb79cabe55a183dc18fd040
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 25 00:28:33 2020 +0200
patch 8.2.0821: Vim9: memory leak in expr test
Problem: Vim9: memory leak in expr test.
Solution: Do not decrement the length of the list of functions if the
current function is not at the end.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 25 May 2020 00:30:03 +0200 |
parents |
8b334e4cb97f |
children |
|
rev |
line source |
15194
|
1 # vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :
|
15131
|
2
|
|
3 # START_INDENT
|
|
4 proc abc {} {
|
15194
|
5 set a 5
|
|
6 if {[some_cmd]==1} {
|
|
7 foreach i [list {1 2 3}] {
|
|
8 # Does this comment affect anything?
|
|
9 puts $i
|
|
10 }
|
|
11 }
|
15131
|
12 }
|
|
13
|
|
14 command_with_a_long_time -arg1 "First" \
|
15194
|
15 -arg2 "Second" \
|
|
16 -arg3 "Third"
|
15131
|
17
|
|
18 puts "Move indent back after line continuation is complete"
|
|
19 # END_INDENT
|