Attach location to alias header name

This commit is contained in:
ayazhafiz 2021-12-26 09:17:27 -06:00
parent 11da888c07
commit 597a1cef3b
5 changed files with 18 additions and 22 deletions

View file

@ -227,7 +227,7 @@ pub struct PrecedenceConflict<'a> {
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct AliasHeader<'a> {
pub name: &'a str,
pub name: Loc<&'a str>,
pub vars: &'a [Loc<&'a str>],
}