mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Remove some redundant cmd/puffs/gen.go code.
This commit is contained in:
1 parent
7c85ed04f9
commit
f23a80820c
2 files changed
+5
-7
No files matched your search
@@ -112,8 +112,8 @@ func do(r io.Reader, filename string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// We don't need the AST node to pretty-print, but it's worth puffsfmt
|
||||
// rejecting syntax errors. This is just a parse, not a full type check.
|
||||
// We don't need the AST node to pretty-print, but it's worth rejecting
|
||||
// syntax errors early. This is just a parse, not a full type check.
|
||||
if _, err := parse.Parse(tm, filename, tokens); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user