Files
wuffs/cmd
Nigel Tao dc71a93dcf Re-introduce type/bounds checking to "puffs gen".
This rolls back some of:
f23a808 Remove some redundant cmd/puffs/gen.go code.
3258c1e Remove check.FlagsOnlyTypeCheck.

The language-specific code generators, such as puffs-gen-c, have to do
type and bounds checking anyway, to generate the right types and
function calls. Accordingly, I thought that the type and bounds checking
in the language-agnostic cmd/puffs/gen.go was redundant, and removed it.

However, puffs-gen-c just works with stdin and stdout, and the comments
have been stripped from its input, so it cannot print either the right
filename or right line number for any errors.

We therefore need to do type and bounds checking in cmd/puffs/gen.go
too, in order to produce actionable errors.
2017-06-18 10:17:09 +10:00
..
2017-06-16 10:47:54 +10:00