freebsd-skq/usr.bin/calendar/tests/calendar.comment
se b4f0bcce13 Add regression tests for conditions and comments
Fix one case where #else was not corerctly processed and simplify the
conditions logic.

Fix parsing of day and month names in the locale specified in the calendar
file. The previous version would expect those names to match the locale of
the user.

Mention that comments are now correctly processed and that // is supported
in addition to /* ... */.

MFC after:	3 days
2020-11-04 22:29:01 +00:00

11 lines
232 B
Plaintext

1 1 jan 1 // comment
1 2 jan 2 /* comment */
1 3 jan /* comment */3
1 4 /* comment*/jan 4
// comment
/* comment */1 5 jan 5
1/* comment */ 6 jan 6
1 7 jan 7 // /* comment */ comment
1 1/* comment */1 jan /* comment */11 // comment