1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

Fix yaml comments even more! (#28)

A fix for a fix that again fixes YAML comments.
This commit is contained in:
Todd Lewis 2017-08-04 15:35:32 -04:00 committed by Christian Nicolai
parent a1f9804033
commit 6b5cc885c9

View File

@ -51,7 +51,7 @@
* idle noeat * idle noeat
":" key ":" key
"a-zA-Z0-9_-" maybe_key1 "a-zA-Z0-9_-" maybe_key1
"#" maybe_idle_comment noeat " " maybe_key1_comment
# necessary to include the : # necessary to include the :
:key Idle :key Idle
@ -68,6 +68,10 @@
* plain_scalar noeat * plain_scalar noeat
"#" line_comment "#" line_comment
:maybe_key1_comment Comment
* maybe_key1 noeat
"#" line_comment
:maybe_idle_comment Comment :maybe_idle_comment Comment
* idle noeat * idle noeat
"#" line_comment "#" line_comment