mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 12:54:23 +01:00
40 lines
1.4 KiB
INI
40 lines
1.4 KiB
INI
; ini-test.ini -- file for testing ini.jsf
|
|
; License: GPL
|
|
; by Todd Lewis (https://github.com/utoddl)
|
|
;
|
|
; See https://en.wikipedia.org/wiki/INI_file for .ini specs
|
|
; Normal (;) line comment
|
|
# Alternative (#) line comment
|
|
[broken_section_head)
|
|
bsh1=normal_value_with_equals_sign_as_separator
|
|
bsh2:normal_value_with_colon_as_separator
|
|
|
|
[escape_char_section] with evil trailing chars
|
|
; Valid esc chars: \ 0 a b t r n ; # :
|
|
; and unicode "Basic Multilingual Plane" (4 hex digits) after "\x"
|
|
alphas=\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
|
|
valid_esc=~\\~\0~\a~\b~\t~\r~\n~\;~\#~
|
|
unicodes=~~\x~~\x1~~\x12~~\x123\a~~\x1234~~\x12345~~
|
|
# another comment
|
|
ecs1_missing_value ; Not a trailing comment b/c no equal sign!
|
|
ecs2 = # value w/ leading whitespace!
|
|
ecs3=value with continuation \
|
|
on the next line.
|
|
|
|
[quotes_and_trailing_comments]
|
|
; The following quotes should be insignificant according
|
|
; to https://en.wikipedia.org/wiki/INI_file, but some
|
|
; implementations allow it. Likewise, trailing comments are
|
|
; not spec, but often honored.
|
|
qatc3="quoted value" # not technically a comment, but lovely green.
|
|
qatc4="quoted value \# w/o comment"
|
|
qatc5="quoted value # w/ comment?" ; No right answer!
|
|
qatc6_missing_value
|
|
|
|
[second_borken_section
|
|
sbs1='val \x \'' ; These single quotes aren't spec either.
|
|
|
|
differently_borken_section]
|
|
dbs1_no_val_but_with_equals=
|
|
dbs2 = good_value_with_whitespace_around_equals
|