expressir 2.4.60-arm-linux → 2.4.61-arm-linux

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2a37a5f59fc768ca3b50ce2ad7278e19bd8630f76c0555d4bbf57b04a617213
4
- data.tar.gz: c738072c76b14a361a4f63458d97753d6f8f8dc3a34aec16604c5c284eecb770
3
+ metadata.gz: eed4408f7187afa171995f1e6efea55425822a5b3acb33ae7ed7b659532bf5c0
4
+ data.tar.gz: a62e05ed6102e8374d51b1d6c0b387983daefe5f4aa606e0f7f8c853f68caade
5
5
  SHA512:
6
- metadata.gz: ecebd839385f50ffba6ddbedf2f44d206e52381958abc8eaa74dd421884b51519211ae1b18c3e8c00583488aaf0448483970dcfe70ea423f93ede839f18495bc
7
- data.tar.gz: 1886cf46249fb23bfdd436b314e7107774ea2486eb0e640366c96a00fb7ca31b83349e28b14b484d2050ac0807591e4c57f2eec211da061c830ca5f5fcf28bca
6
+ metadata.gz: c9d3045425d53fd50a3388c8832d06b83f6268e96f0ce07bf97a7e04fbcb21f11c1e5a68e13166b69a2a1cfa511db0542f2ca2662e5c58c5357d1337ce99c547
7
+ data.tar.gz: 6aabee62b6b20af41a8a99e5576e0a24f0778f5bcde82b3d3027dc67d7e8a199f57c32d5e89eb060b3c3a844df069b233bbf1162a1aff49531e67a6b1703ba09
Binary file
Binary file
Binary file
Binary file
@@ -619,7 +619,10 @@ module Expressir
619
619
  "",
620
620
  ]
621
621
  end,
622
- *format_remark_items(node),
622
+ # A blank line before each remark-item child, mirroring the
623
+ # core-lane schema emitter — the two lanes must render
624
+ # remark.exp byte-identically for the formatter golden.
625
+ *format_remark_items(node).flat_map { |x| ["", x] },
623
626
  [
624
627
  "END_SCHEMA",
625
628
  ";",
@@ -29,15 +29,22 @@ module Expressir
29
29
  tag = tag.delete_prefix(prefix) if prefix && tag.start_with?(prefix)
30
30
  end
31
31
 
32
- # One line per remark. Single-line remarks take the tail form
33
- # (the dominant inline convention); multi-line text takes the
34
- # block form, which a tail line cannot express.
32
+ # Remark items are WG12 annotation blocks: the embedded form,
33
+ # a block per remark, matching the source convention of the
34
+ # annotated corpora (the conservation pairs are embedded, so
35
+ # tail-form emission reads as phantom gains). Rule-context
36
+ # owners keep the historic bare-tag tail form.
37
+ if rule_context
38
+ return node.remarks
39
+ .map { |remark| "--\"#{tag}\" #{remark}" }
40
+ .join("\n")
41
+ end
35
42
  node.remarks.map do |remark|
36
43
  remark = remark.to_s
37
44
  if remark.include?("\n")
38
45
  "(*\"#{tag}\"\n#{remark}\n*)"
39
46
  else
40
- "--\"#{tag}\" #{remark}"
47
+ "(*\"#{tag}\" #{remark} *)"
41
48
  end
42
49
  end.join("\n")
43
50
  end
@@ -3,6 +3,6 @@ module Expressir
3
3
  # autoload it (Ruby autoload only works for module/class constants, not
4
4
  # for string constants like `Expressir::VERSION`).
5
5
  module Version
6
- VERSION = "2.4.60".freeze
6
+ VERSION = "2.4.61".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expressir
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.60
4
+ version: 2.4.61
5
5
  platform: arm-linux
6
6
  authors:
7
7
  - Ribose Inc.