Skip to content

Commit

Permalink
handle plain make statement (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
JalonSolov authored Sep 16, 2024
1 parent 05ee40f commit 598478f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion expr.v
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ fn (mut app App) basic_lit(l BasicLit) {
}
}

// quoted_lit(s string, quote1 string, quote2 string) string {
fn quoted_lit(s string, quote string) string {
mut quote2 := quote
mut no_quotes := s[1..s.len - 1]
Expand Down
3 changes: 3 additions & 0 deletions fn_call.v
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ fn (mut app App) call_expr(call CallExpr) {
app.expr(call.args[0])
app.genln('.str()')
return
} else if fun.name == 'make' {
app.expr(call.args[0])
return
}
}

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 598478f

Please sign in to comment.