File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / confuse / tests / annotate.conf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:49:17 2021 UTC (3 years, 9 months ago) by misho
Branches: confuse, MAIN
CVS tags: v3_3, HEAD
confuse 3.3

# 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
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>