specware 1.3.39__tar.gz → 1.3.41__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: specware
3
- Version: 1.3.39
3
+ Version: 1.3.41
4
4
  Summary: Provides utilities to specify software.
5
5
  Keywords: certification,documentation,markdown,qualification,requirements-management,traceability
6
6
  Author: The specware Authors
@@ -20,7 +20,7 @@ Classifier: Topic :: Software Development :: Quality Assurance
20
20
  Classifier: Topic :: Software Development :: Testing :: Acceptance
21
21
  Classifier: Topic :: Text Processing :: Markup
22
22
  Classifier: Typing :: Typed
23
- Requires-Dist: specitems>=1.7.22
23
+ Requires-Dist: specitems>=1.7.23
24
24
  Requires-Python: >=3.11
25
25
  Project-URL: Source Code, https://github.com/specthings/specware
26
26
  Project-URL: Bug Tracker, https://github.com/specthings/specware/issues
@@ -4,7 +4,7 @@
4
4
 
5
5
  [project]
6
6
  name = "specware"
7
- version = "1.3.39"
7
+ version = "1.3.41"
8
8
  description = "Provides utilities to specify software."
9
9
  authors = [
10
10
  {name = "The specware Authors", email = "specthings@embedded-brains.de"}
@@ -13,7 +13,7 @@ license = "BSD-2-Clause"
13
13
  readme = "README.md"
14
14
  requires-python = ">=3.11"
15
15
  dependencies = [
16
- "specitems >=1.7.22",
16
+ "specitems >=1.7.23",
17
17
  ]
18
18
  keywords = [
19
19
  "certification",
@@ -870,6 +870,9 @@ class _ActionRequirementTestItem(_TestItem):
870
870
  content.add("};")
871
871
  with content.function("static void", f"{self.ident}_Skip",
872
872
  [f"{self.context} *ctx", "size_t index"]):
873
+ if self._pre_co_count == 1:
874
+ content.append(["(void) ctx;", "(void) index;"])
875
+ return
873
876
  content.append("switch ( index + 1 ) {")
874
877
  fall_through = "/* Fall through */"
875
878
  with content.indent():
File without changes