[rtems-central commit] spec: Add stringification of argument lists
Sebastian Huber
sebh at rtems.org
Tue Dec 15 10:33:52 UTC 2020
Module: rtems-central
Branch: master
Commit: 49bd87996fa1c1068ec1703b0e0b544e74741a74
Changeset: http://git.rtems.org/rtems-central/commit/?id=49bd87996fa1c1068ec1703b0e0b544e74741a74
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Dec 14 12:02:31 2020 +0100
spec: Add stringification of argument lists
---
spec/rtems/basedefs/if/string.yml | 10 +++++-----
spec/rtems/basedefs/if/xstring.yml | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/spec/rtems/basedefs/if/string.yml b/spec/rtems/basedefs/if/string.yml
index 32e1cb4..925fb8b 100644
--- a/spec/rtems/basedefs/if/string.yml
+++ b/spec/rtems/basedefs/if/string.yml
@@ -1,10 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
- Stringifies _x without expanding.
+ Stringifies the arguments without expanding them.
copyrights:
- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
definition:
- default: '#${.:/params[0]/name}'
+ default: '#__VA_ARGS__'
variants: []
description: null
enabled-by: true
@@ -19,11 +19,11 @@ name: RTEMS_STRING
notes: null
params:
- description: |
- is the token to stringify.
+ are the arguments to stringify.
dir: null
- name: _x
+ name: ...
return:
return: |
- Returns the stringification of the token _x.
+ Returns the stringification of the arguments.
return-values: []
type: interface
diff --git a/spec/rtems/basedefs/if/xstring.yml b/spec/rtems/basedefs/if/xstring.yml
index 0218a29..8dc7bcc 100644
--- a/spec/rtems/basedefs/if/xstring.yml
+++ b/spec/rtems/basedefs/if/xstring.yml
@@ -1,10 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
- Stringifies the expansion of _x.
+ Stringifies the expansion of the arguments.
copyrights:
- Copyright (C) 2015 embedded brains GmbH (http://www.embedded-brains.de)
definition:
- default: ${string:/name}( ${.:/params[0]/name} )
+ default: ${string:/name}( __VA_ARGS__ )
variants: []
description: null
enabled-by: true
@@ -19,11 +19,11 @@ name: RTEMS_XSTRING
notes: null
params:
- description: |
- is the token expand and stringify.
+ are the arguments to expand and stringify.
dir: null
- name: _x
+ name: ...
return:
return: |
- Returns the stringification of the expansion of token _x.
+ Returns the stringification of the expansion of the arguments.
return-values: []
type: interface
More information about the vc
mailing list