hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a19882fbe33d120b44645cc084d96cf73858fabe
parent 9ca09d9ad295e3460f95e0a018943393ed2bad72
Author: Sebastian <sebastian@sebsite.pw>
Date:   Wed, 23 Feb 2022 15:08:55 -0500

lex: add support for `raw strings`

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mhare/lex/lex.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hare/lex/lex.ha b/hare/lex/lex.ha @@ -109,7 +109,7 @@ export fn lex(lex: *lexer) (token | error) = { }; let tok = switch (r.0) { - case '"', '\'' => + case '"', '\'', '`' => unget(lex, r); return lex_rn_str(lex); case '.', '<', '>', '&', '|', '^' =>