Annotation of embedaddon/confuse/tests/annotate.conf, revision 1.1.1.1

1.1       misho       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>