mirror of https://github.com/Wilfred/difftastic/
fix: immediate hash in string is considered content instead of comment (#18)
parent
e1aa4dd51b
commit
4993307f61
@ -0,0 +1,19 @@
|
||||
================================================================================
|
||||
VALID - issue #17 - immediate hash in string is considered content instead of comment
|
||||
================================================================================
|
||||
|
||||
# This is a full-line comment
|
||||
key = "value" # This is a comment at the end of a line
|
||||
another = "# This is not a comment"
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(document
|
||||
(comment)
|
||||
(pair
|
||||
(bare_key)
|
||||
(string)
|
||||
(comment))
|
||||
(pair
|
||||
(bare_key)
|
||||
(string)))
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue