File: nested_update.block

package info (click to toggle)
msc-generator 8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 180,648 kB
  • sloc: cpp: 133,265; yacc: 23,546; ansic: 7,210; sh: 4,512; lex: 2,028; makefile: 1,085
file content (20 lines) | stat: -rw-r--r-- 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
template col tmp {
    box one {
        box two;
        box three;
        box four;
    }
}

# Try to address a block with dot notation
copy tmp as a {
    update one.two, one.four [fill.color=green];
}

# This succeeds, but does not auto-format correctly
copy tmp as a {
    update one  {
    update two [fill.color=green];
}
    
}