mirror of https://github.com/Wilfred/difftastic/
89 lines
2.0 KiB
Plaintext
89 lines
2.0 KiB
Plaintext
================================================================================
|
|
Hello world
|
|
================================================================================
|
|
|
|
Hello World!
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(text
|
|
(word)
|
|
(word)))
|
|
|
|
================================================================================
|
|
Matched parens and brackets
|
|
================================================================================
|
|
|
|
Foo Bar (Baz [(Qux)])
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(text
|
|
(word)
|
|
(word))
|
|
(text
|
|
(word))
|
|
(text
|
|
(word)))
|
|
|
|
================================================================================
|
|
Unmatched parens
|
|
================================================================================
|
|
|
|
Foo ) Bar ( Baz
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(text
|
|
(word))
|
|
(text
|
|
(word))
|
|
(text
|
|
(word)))
|
|
|
|
================================================================================
|
|
Comma separated words
|
|
================================================================================
|
|
|
|
Foo, Bar
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(text
|
|
(word))
|
|
(text
|
|
(word)))
|
|
|
|
================================================================================
|
|
Valid macro parameter
|
|
================================================================================
|
|
|
|
Macro #1 parameter
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(text
|
|
(word)
|
|
(placeholder)
|
|
(word)))
|
|
|
|
================================================================================
|
|
Invalid macro parameter
|
|
================================================================================
|
|
|
|
Foo # Bar
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
(source_file
|
|
(text
|
|
(word)
|
|
(ERROR
|
|
(UNEXPECTED ' '))
|
|
(word)))
|