diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-26 19:35:44 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-26 19:35:44 -0700 |
| commit | 7550731c6eae194361e4da61ed25959bc651431b (patch) | |
| tree | 268b2a3c16fd16fc421cdac2abd1fbe8e770b5e6 | |
| parent | 49ff523aad4d0373e9203698edc79f6fe0130935 (diff) | |
| download | ccl-7550731c6eae194361e4da61ed25959bc651431b.tar.zst | |
Numbers must be separated from field names
Another technically backwards-incompatible change, but it's important to
avoid weird edge cases in lexing.
| -rw-r--r-- | asspb.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,6 +31,14 @@ // Leading zeros are not permitted in decimal numbers, due to potential // confusion with octal (which is not supported). // +// As a lexical matter, numbers must be separated from subsequent field names by +// intervening whitespace or comments: +// +// # invalid +// field1:10field2:20 +// # ok +// field1:10 field2:20 +// // # Strings // // Strings are written with " or ' and any sequence of intermediate bytes (with |
