Fix parsing edge case re: function calls at eof

This commit is contained in:
Richard Feldman 2019-07-25 08:27:50 -04:00
parent 4df8064407
commit c8edddfd48
7 changed files with 1283 additions and 963 deletions

View file

@ -57,6 +57,10 @@ pub enum Ident {
pub struct Path(String);
impl Path {
pub fn new(string: String) -> Path {
Path(string)
}
pub fn into_string(self) -> String {
let Path(str) = self;
@ -176,4 +180,4 @@ impl Expr {
}
}
}
}
}