Browse Source

Fix yaml comments even more! (#28)

A fix for a fix that again fixes YAML comments.
pull/29/merge
Todd Lewis 2 years ago
parent
commit
6b5cc885c9
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      yaml.jsf

+ 6
- 2
yaml.jsf View File

@@ -50,8 +50,8 @@
:maybe_key1 Constant
* idle noeat
":" key
" a-zA-Z0-9_-" maybe_key1
"#" maybe_idle_comment noeat
"a-zA-Z0-9_-" maybe_key1
" " maybe_key1_comment

# necessary to include the :
:key Idle
@@ -68,6 +68,10 @@
* plain_scalar noeat
"#" line_comment

:maybe_key1_comment Comment
* maybe_key1 noeat
"#" line_comment

:maybe_idle_comment Comment
* idle noeat
"#" line_comment


Loading…
Cancel
Save