tree-sitter-cmake/corpus/message.txt
Uy Ha e3dfc2cdca Stop treating command argument as special:
- Planning to move the highlight responsibility to the highlight query
- Stop trying to parse frequently used commands
- One test is failing because of `unquoted_argument`, planning to fix
2021-06-27 21:22:42 +02:00

78 lines
1.2 KiB
Plaintext

=====================
No argument [message]
=====================
message()
---
(source_file
(normal_command
(identifier)
)
)
=================================
No argument with spaces [message]
=================================
message( )
---
(source_file
(normal_command
(identifier)
)
)
===============================================
Message without argument with newline [message]
===============================================
message(
)
---
(source_file
(normal_command
(identifier)
)
)
==================================================
Message with STATUS and bracket argument [message]
==================================================
message(STATUS [=[Some argument ]==] ]=] )
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
(argument (bracket_argument))
)
)
==============================================================
Message with STATUS and bracket argument and newline [message]
==============================================================
message(STATUS
[=[Some argument
]==] ]=] )
---
(source_file
(normal_command
(identifier)
(argument (unquoted_argument))
(argument (bracket_argument))
)
)