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, 3 months ago) by misho
Branches: confuse, MAIN
CVS tags: v3_3, HEAD
confuse 3.3

    1: # Annotation test for options
    2: # Comments are discarded in favor of the comment closest to the option
    3: 
    4: /* Some comment to an option */
    5: option = "Vogon poetry is the 3rd worst in the known Universe"
    6: 
    7: /* Section comment, here be dragons */
    8: section {
    9:     key = 10
   10:     /* Another comment, why we set to true */
   11:     bool = true
   12: 
   13:     ### Now, is it this comment that goes with the option?
   14:     option = "One in ten Vogons die each year from the aftershocks"  //// Or this?
   15: 
   16:     # libConfuse currently favors the former, easier to parse
   17: }

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