• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fildesh / fildesh / 19793254345
96%
trunk: 96%

Build:
Build:
LAST BUILD BRANCH: sxpb
DEFAULT BRANCH: trunk
Ran 30 Nov 2025 03:36AM UTC
Jobs 1
Files 194
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2025 03:32AM UTC coverage: 95.655% (+0.001%) from 95.654%
19793254345

push

github

grencez
sxproto: Support parsing anonymous discriminated strings in generic parser

Removed special handling for `("" ...)` in `parse_field_content_FildeshSxpbInfo` and instead updated `parse_field_FildeshSxpbInfo` to handle empty quoted names as LITERAL fields. Relaxed quoting rules for values of empty named fields to allow unquoted strings (e.g. `("" value)`). Updated tests to reflect that `42` is parsed as an integer by default in the generic parser, requiring quotes if a string is intended.

sxproto: Support parsing anonymous discriminated strings in generic parser

Removed special handling for `("" ...)` in `parse_field_content_FildeshSxpbInfo` and instead updated `parse_field_FildeshSxpbInfo` to handle empty quoted names as LITERAL fields. Relaxed quoting rules for values of empty named fields to allow unquoted strings (e.g. `("" value)`). Updated tests to reflect that `42` is parsed as an integer by default in the generic parser, requiring quotes if a string is intended.

sxproto: Support parsing anonymous discriminated strings in generic parser

Refactored `parse_field_content_FildeshSxpbInfo` to remove specialized handling for anonymous discriminated strings (`("" ...)`) and instead support them via the generic `parse_field_FildeshSxpbInfo`.

Updated `parse_field_FildeshSxpbInfo` to:
1. Treat empty quoted names (`""`) as `LITERAL` fields instead of `MESSAGE` starts.
2. Default `elem_kind` to `LITERAL_STRING` for such fields if unknown, forcing string parsing for values like `42`.
3. Relax `quoted_names_on` enforcement for `""` fields to allow unquoted string values.

This simplifies the array parsing logic and maintains backward compatibility for existing "anonymous discriminated string" syntax, including cases where numeric strings are unquoted.

sxproto: Support anonymous discriminated strings via generic parser

Refactored `parse_field_content_FildeshSxpbInfo` to remove ad-hoc parsing of `("" ...)` constructs.
Updated `parse_field_FildeshSxpbInfo`... (continued)

41 of 46 new or added lines in 1 file covered. (89.13%)

10766 of 11255 relevant lines covered (95.66%)

223882.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
93.61
0.05% src/sxproto/parse_sxpb.c
Jobs
ID Job ID Ran Files Coverage
1 19793254345.1 30 Nov 2025 03:36AM UTC 194
95.66
GitHub Action Run
Source Files on build 19793254345
  • Tree
  • List 194
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9efc060a on github
  • Prev Build on tmp (#19792585260)
  • Next Build on tmp (#19794347039)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc