Commit Graph

6 Commits

Author SHA1 Message Date
Casey Rodarmor
b188882ed0
Use box-drawing characters in error messages (#1798) 2023-12-29 21:25:30 +00:00
Casey Rodarmor
7337447d42
Add file paths to error messages (#1737) 2023-11-22 04:17:38 +00:00
Casey Rodarmor
72e5b17242
Placate clippy (#1689) 2023-10-09 02:34:05 +00:00
Casey Rodarmor
01fae9b1e4
Do use super::*; instead of use crate::common::*; (#1239) 2022-06-19 04:56:31 +00:00
Casey Rodarmor
fec979c2c6
Reform and improve string literals (#793)
- Combine and simplify string and backtick lexing.
- Allow newlines in strings and backticks.
- Add triple-delimited indented strings and backticks. Common indented literal non-blank line leading whitespace is stripped.
- If a literal newline is escaped, it will be suppressed.
- Backticks starting with `#!` are reserved for a future upgrade.
2021-04-05 21:28:37 -07:00
Casey Rodarmor
dd578d141c
Unify string lexing (#790)
Unify lexing of backticks, cooked strings, and raw strings. Also allow
newlines in backticks and cooked strings, since I can't think of a reason
not to.
2021-04-04 16:41:02 -07:00