[rtems-central commit] spec: Fix format of some references
Sebastian Huber
sebh at rtems.org
Thu Jul 15 08:27:45 UTC 2021
Module: rtems-central
Branch: master
Commit: 5807c6f59530d3271e44298bc8a4750132c29902
Changeset: http://git.rtems.org/rtems-central/commit/?id=5807c6f59530d3271e44298bc8a4750132c29902
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Jul 15 10:26:02 2021 +0200
spec: Fix format of some references
---
spec/rtems/basedefs/req/have-member-same-type-0.yml | 2 +-
spec/rtems/basedefs/req/printflike-0.yml | 8 ++++----
spec/rtems/basedefs/req/printflike-1.yml | 2 +-
spec/rtems/req/perf-runtime.yml | 2 +-
spec/rtems/task/if/current-priority.yml | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/spec/rtems/basedefs/req/have-member-same-type-0.yml b/spec/rtems/basedefs/req/have-member-same-type-0.yml
index d6f897e..f138988 100644
--- a/spec/rtems/basedefs/req/have-member-same-type-0.yml
+++ b/spec/rtems/basedefs/req/have-member-same-type-0.yml
@@ -28,7 +28,7 @@ text: |
${../if/have-member-same-type:/params[2]/name},
the ${../if/have-member-same-type:/name} macro shall
evaluate to the integer values 1 or 0 depending on whether
- the types of the members {../if/have-member-same-type:/params[1]/name}
+ the types of the members ${../if/have-member-same-type:/params[1]/name}
and ${../if/have-member-same-type:/params[3]/name} are compatible in
the sense of C.
type: requirement
diff --git a/spec/rtems/basedefs/req/printflike-0.yml b/spec/rtems/basedefs/req/printflike-0.yml
index a4a2ec1..de11b9f 100644
--- a/spec/rtems/basedefs/req/printflike-0.yml
+++ b/spec/rtems/basedefs/req/printflike-0.yml
@@ -21,12 +21,12 @@ text: |
referring to two different arguments of that function,
and the function argument number ${../if/printflike:/params[0]/name}
is a ``printf``-format string,
- and the function argument number {../if/printflike:/params[1]/name}
+ and the function argument number ${../if/printflike:/params[1]/name}
is the first argument to be used in the ``printf``-format string,
and all other arguments used in the ``printf``-format string
- are arguments {../if/printflike:/params[1]/name} + 1,
- {../if/printflike:/params[1]/name} + 2,
- {../if/printflike:/params[1]/name} + 3, and so on,
+ are arguments ${../if/printflike:/params[1]/name} + 1,
+ ${../if/printflike:/params[1]/name} + 2,
+ ${../if/printflike:/params[1]/name} + 3, and so on,
the macro shall cause the compiler to use this information for
type checking the format string and arguments.
type: requirement
diff --git a/spec/rtems/basedefs/req/printflike-1.yml b/spec/rtems/basedefs/req/printflike-1.yml
index f44d7b4..c79aad4 100644
--- a/spec/rtems/basedefs/req/printflike-1.yml
+++ b/spec/rtems/basedefs/req/printflike-1.yml
@@ -24,7 +24,7 @@ text: |
referring to an argument of that function,
and the function argument number ${../if/printflike:/params[0]/name}
is a ``printf``-format string,
- and the function argument {../if/printflike:/params[1]/name} is 0,
+ and the function argument ${../if/printflike:/params[1]/name} is 0,
the macro shall cause the compiler to use this information for
checking the format string.
type: requirement
diff --git a/spec/rtems/req/perf-runtime.yml b/spec/rtems/req/perf-runtime.yml
index 139d40e..e3fe450 100644
--- a/spec/rtems/req/perf-runtime.yml
+++ b/spec/rtems/req/perf-runtime.yml
@@ -10,5 +10,5 @@ rationale: null
references: []
requirement-type: non-functional
text: |
- The runtime of {../if/group:/name} directives shall be measured.
+ The runtime of the ${../if/group:/name} directives shall be measured.
type: requirement
diff --git a/spec/rtems/task/if/current-priority.yml b/spec/rtems/task/if/current-priority.yml
index e82a515..e6c5779 100644
--- a/spec/rtems/task/if/current-priority.yml
+++ b/spec/rtems/task/if/current-priority.yml
@@ -1,6 +1,6 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
- This constant is passed to {set-priority:/name} when the caller wants to
+ This constant is passed to ${set-priority:/name} when the caller wants to
obtain the current priority.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
More information about the vc
mailing list