mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Comments don't create context in hashes now
This commit is contained in:
parent
2a11e6136e
commit
8047a756da
28
test/fixtures/ruby/hash.diffA-B.txt
vendored
28
test/fixtures/ruby/hash.diffA-B.txt
vendored
@ -20,21 +20,15 @@
|
||||
(Integer))-})
|
||||
{-(Hash)-}
|
||||
{-(Hash
|
||||
(Context
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(Identifier)
|
||||
(Integer)))
|
||||
(Context
|
||||
(Comment)
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(TextElement)
|
||||
(Integer)))
|
||||
(Context
|
||||
(Comment)
|
||||
(Empty)))-}
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(Identifier)
|
||||
(Integer))
|
||||
(Comment)
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(TextElement)
|
||||
(Integer))
|
||||
(Comment))-}
|
||||
{-(Hash
|
||||
(Context
|
||||
(Comment)
|
||||
(Empty)))-})
|
||||
(Comment))-})
|
||||
|
28
test/fixtures/ruby/hash.diffB-A.txt
vendored
28
test/fixtures/ruby/hash.diffB-A.txt
vendored
@ -20,21 +20,15 @@
|
||||
(Integer))+})
|
||||
{+(Hash)+}
|
||||
{+(Hash
|
||||
(Context
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(Identifier)
|
||||
(Integer)))
|
||||
(Context
|
||||
(Comment)
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(TextElement)
|
||||
(Integer)))
|
||||
(Context
|
||||
(Comment)
|
||||
(Empty)))+}
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(Identifier)
|
||||
(Integer))
|
||||
(Comment)
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(TextElement)
|
||||
(Integer))
|
||||
(Comment))+}
|
||||
{+(Hash
|
||||
(Context
|
||||
(Comment)
|
||||
(Empty)))+})
|
||||
(Comment))+})
|
||||
|
28
test/fixtures/ruby/hash.parseA.txt
vendored
28
test/fixtures/ruby/hash.parseA.txt
vendored
@ -14,21 +14,15 @@
|
||||
(Integer)))
|
||||
(Hash)
|
||||
(Hash
|
||||
(Context
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(Identifier)
|
||||
(Integer)))
|
||||
(Context
|
||||
(Comment)
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(TextElement)
|
||||
(Integer)))
|
||||
(Context
|
||||
(Comment)
|
||||
(Empty)))
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(Identifier)
|
||||
(Integer))
|
||||
(Comment)
|
||||
(Comment)
|
||||
(KeyValue
|
||||
(TextElement)
|
||||
(Integer))
|
||||
(Comment))
|
||||
(Hash
|
||||
(Context
|
||||
(Comment)
|
||||
(Empty))))
|
||||
(Comment)))
|
||||
|
Loading…
Reference in New Issue
Block a user