/
niceSOFT
/
libconfuse
Обзор
Документация
Войти
/
niceSOFT
/
libconfuse
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/annotate.conf
17 строк
530 B
Joachim Nilsson
Clarify misleading comments from development cycle
31 май 2017, 17:48
31 май 2017, 17:48
ba78f6c
Код
Авторство
О чём код?
# 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 }