![Uy Ha](/assets/img/avatar_default.png)
- 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
87 lines
1.6 KiB
Plaintext
87 lines
1.6 KiB
Plaintext
========================================================
|
|
Command invocation with one argument [unquoted_argument]
|
|
========================================================
|
|
|
|
message(STATUS)
|
|
|
|
---
|
|
|
|
(source_file
|
|
(normal_command
|
|
(identifier)
|
|
(argument (unquoted_argument))
|
|
)
|
|
)
|
|
|
|
=========================================================
|
|
Command invocation with two arguments [unquoted_argument]
|
|
=========================================================
|
|
|
|
message(STATUS Hello)
|
|
|
|
---
|
|
|
|
(source_file
|
|
(normal_command
|
|
(identifier)
|
|
(argument (unquoted_argument))
|
|
)
|
|
)
|
|
|
|
===============================================================
|
|
Command invocations with leading seperation [unquoted_argument]
|
|
===============================================================
|
|
|
|
message( STATUS)
|
|
message(
|
|
STATUS)
|
|
---
|
|
|
|
(source_file
|
|
(normal_command
|
|
(identifier)
|
|
(argument (unquoted_argument))
|
|
)
|
|
(normal_command
|
|
(identifier)
|
|
(argument (unquoted_argument))
|
|
)
|
|
)
|
|
============================================================
|
|
Command invocations with escape sequence [unquoted_argument]
|
|
============================================================
|
|
|
|
message( STATUS)
|
|
message(
|
|
STATUS)
|
|
---
|
|
|
|
(source_file
|
|
(normal_command
|
|
(identifier)
|
|
(argument (unquoted_argument))
|
|
)
|
|
(normal_command
|
|
(identifier)
|
|
(argument (unquoted_argument))
|
|
)
|
|
)
|
|
|
|
========================================
|
|
Variable referencing [unquoted_argument]
|
|
========================================
|
|
message(${var_ref})
|
|
---
|
|
|
|
(source_file
|
|
(normal_command
|
|
(identifier)
|
|
(argument
|
|
(unquoted_argument
|
|
(variable_ref (normal_var (variable)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|