File: annotate.conf

package info (click to toggle)
libconfuse 3.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: ansic: 5,532; lex: 451; xml: 439; makefile: 213; sh: 39
file content (17 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Annotation test for options
# Comments are discarded in favor of the comment closest to the option

/* Some comment to an option */
option = "Vogon poetry is the 3rd worst in the known Universe"

/* Section comment, here be dragons */
section {
    key = 10
    /* Another comment, why we set to true */
    bool = true

    ### Now, is it this comment that goes with the option?
    option = "One in ten Vogons die each year from the aftershocks"  //// Or this?

    # libConfuse currently favors the former, easier to parse
}