mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-14 02:11:34 +00:00
* Unify parsing of string literals and scalar literals, to (e.g.) ensure escapes are handled uniformly. Notably, this makes unicode escapes valid in scalar literals.
* Add a variety of custom error messages about specific failure cases of parsing string/scalar literals. For example, if we're expecting a string (e.g. a package name in the header) and the user tried using single quotes, give a clear message about that.
* Fix formatting of unicode escapes (they previously used {}, now correctly use () to match roc strings)
|
||
|---|---|---|
| .. | ||
| ast.rs | ||
| blankspace.rs | ||
| expr.rs | ||
| header.rs | ||
| ident.rs | ||
| keyword.rs | ||
| lib.rs | ||
| module.rs | ||
| number_literal.rs | ||
| parser.rs | ||
| pattern.rs | ||
| problems.rs | ||
| state.rs | ||
| string_literal.rs | ||
| test_helpers.rs | ||
| type_annotation.rs | ||