Skip to content

Commit

Permalink
Merge #89
Browse files Browse the repository at this point in the history
89: Remove mutability that is no longer needed in grmtools-0.5.x*. r=ptersilie a=ltratt



Co-authored-by: Laurence Tratt <[email protected]>
  • Loading branch information
bors[bot] and ltratt authored Jan 8, 2020
2 parents 129bcf0 + 0dce84e commit 34c71cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ pub fn compile(vm: &VM, path: &Path) -> Class {
let txt = String::from_utf8_lossy(&bytes);

let lexerdef = som_l::lexerdef();
let mut lexer = lexerdef.lexer(&txt);
let (astopt, errs) = som_y::parse(&mut lexer);
let lexer = lexerdef.lexer(&txt);
let (astopt, errs) = som_y::parse(&lexer);
for e in &errs {
eprintln!("{}", e.pp(&lexer, &som_y::token_epp));
}
Expand Down

0 comments on commit 34c71cd

Please sign in to comment.