zigfmt-web icon indicating copy to clipboard operation
zigfmt-web copied to clipboard

feature request: display parsing errors

Open andrewrk opened this issue 5 years ago • 0 comments

Right now it seems like parse errors result in undefined output. For example (note the stray double quote):

input:

const std = @import("std"); " pub fn main() void { std.debug.warn("Hello World\n"); }

output:

const std = @import("std");

andrewrk avatar Jun 11 '19 19:06 andrewrk