2021-06-07 17:29:32 -04:00
|
|
|
========================================================
|
|
|
|
Command invocation with one argument [unquoted_argument]
|
|
|
|
========================================================
|
2021-04-10 13:21:36 -04:00
|
|
|
|
|
|
|
message(STATUS)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-27 15:20:09 -04:00
|
|
|
(normal_command
|
|
|
|
(identifier)
|
|
|
|
(argument (unquoted_argument))
|
2021-06-04 07:02:16 -04:00
|
|
|
)
|
|
|
|
)
|
2021-04-10 13:21:36 -04:00
|
|
|
|
2021-06-07 17:29:32 -04:00
|
|
|
=========================================================
|
|
|
|
Command invocation with two arguments [unquoted_argument]
|
|
|
|
=========================================================
|
2021-04-10 13:21:36 -04:00
|
|
|
|
|
|
|
message(STATUS Hello)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-27 15:20:09 -04:00
|
|
|
(normal_command
|
|
|
|
(identifier)
|
2021-06-16 15:37:14 -04:00
|
|
|
(argument (unquoted_argument))
|
2021-06-29 14:35:34 -04:00
|
|
|
(argument (unquoted_argument))
|
2021-06-04 07:02:16 -04:00
|
|
|
)
|
|
|
|
)
|
2021-04-11 09:04:28 -04:00
|
|
|
|
2021-06-07 17:29:32 -04:00
|
|
|
===============================================================
|
|
|
|
Command invocations with leading seperation [unquoted_argument]
|
|
|
|
===============================================================
|
2021-04-11 09:04:28 -04:00
|
|
|
|
|
|
|
message( STATUS)
|
|
|
|
message(
|
|
|
|
STATUS)
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-27 15:20:09 -04:00
|
|
|
(normal_command
|
|
|
|
(identifier)
|
|
|
|
(argument (unquoted_argument))
|
|
|
|
)
|
|
|
|
(normal_command
|
|
|
|
(identifier)
|
|
|
|
(argument (unquoted_argument))
|
2021-06-04 07:02:16 -04:00
|
|
|
)
|
2021-06-27 15:20:09 -04:00
|
|
|
)
|
2021-06-07 17:29:32 -04:00
|
|
|
============================================================
|
|
|
|
Command invocations with escape sequence [unquoted_argument]
|
|
|
|
============================================================
|
2021-04-11 09:47:39 -04:00
|
|
|
|
2021-06-07 18:02:13 -04:00
|
|
|
message( STATUS)
|
2021-04-11 09:47:39 -04:00
|
|
|
message(
|
|
|
|
STATUS)
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-27 15:20:09 -04:00
|
|
|
(normal_command
|
|
|
|
(identifier)
|
|
|
|
(argument (unquoted_argument))
|
|
|
|
)
|
|
|
|
(normal_command
|
|
|
|
(identifier)
|
|
|
|
(argument (unquoted_argument))
|
|
|
|
)
|
2021-06-04 07:02:16 -04:00
|
|
|
)
|
2021-04-17 15:16:33 -04:00
|
|
|
|
2021-06-07 17:29:32 -04:00
|
|
|
========================================
|
|
|
|
Variable referencing [unquoted_argument]
|
|
|
|
========================================
|
2021-05-28 16:12:15 -04:00
|
|
|
message(${var_ref})
|
2021-04-17 15:16:33 -04:00
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
2021-06-27 15:20:09 -04:00
|
|
|
(normal_command
|
|
|
|
(identifier)
|
2021-06-16 15:37:14 -04:00
|
|
|
(argument
|
|
|
|
(unquoted_argument
|
|
|
|
(variable_ref (normal_var (variable)))
|
2021-06-04 07:02:16 -04:00
|
|
|
)
|
2021-04-17 15:16:33 -04:00
|
|
|
)
|
2021-06-04 07:02:16 -04:00
|
|
|
)
|
|
|
|
)
|
2021-04-17 15:16:33 -04:00
|
|
|
|
2021-06-30 01:40:33 -04:00
|
|
|
====================================================================
|
|
|
|
Variable referencing inside variable referencing [unquoted_argument]
|
|
|
|
====================================================================
|
|
|
|
message(${var_${var_ref}})
|
|
|
|
---
|
|
|
|
|
|
|
|
(source_file
|
|
|
|
(normal_command
|
|
|
|
(identifier)
|
|
|
|
(argument
|
|
|
|
(unquoted_argument
|
|
|
|
(variable_ref (normal_var (variable (variable_ref (normal_var (variable))))))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|