view runtime/indent/testdir/tcl.ok @ 35162:860a5fb8eaf2 default tip

Added tag v9.1.0407 for changeset 08f7c9428f8224d6b24c60f4da1fd12c6354e852
author Christian Brabandt <cb@256bit.org>
date Sat, 11 May 2024 11:45:04 +0200
parents 8b334e4cb97f
children
line wrap: on
line source

# vim: set filetype=tcl shiftwidth=4 tabstop=8 expandtab :

# START_INDENT
proc abc {} {
    set a 5
    if {[some_cmd]==1} {
        foreach i [list {1 2 3}] {
            # Does this comment affect anything?
            puts $i
        }
    }
}

command_with_a_long_time -arg1 "First" \
    -arg2 "Second" \
    -arg3 "Third"

puts "Move indent back after line continuation is complete"
# END_INDENT