hare

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

commit 6d7da72b864886c7d3647895e2983d9a316d1a99
parent 67cfd5f65c40020e205d23bad77a1962c43bacd6
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Fri, 19 Mar 2021 18:24:42 -0400

lex::location: specify ownership semantics of path

Diffstat:
Mhare/lex/token.ha | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/hare/lex/token.ha b/hare/lex/token.ha @@ -242,6 +242,7 @@ export type literal = (u8 | u16 | u32 | u64 | uint | uintptr | i8 | i16 | i32 | i64 | int | iconst | f32 | f64 | fconst | rune | str); // A location within a source file. +// The path is borrowed from the file name given to the lexer. export type location = struct { path: str, line: uint,