travisstaloch 4aa8462cc9
std.zig: fix integer overflows during parsing
these were found while fuzzing zls.

this patch prevents overflow for the following file contents and adds
tests for them.
	* `enum(u32)` - causes overflow in std.zig.Ast.fullContainerDecl()
	* `*x` - causes overflow in std.zig.Ast.fullPtrType()
	* `**x` - causes overflow in std.zig.Ast.firstToken()
2022-12-20 17:33:40 +02:00
..
2022-12-10 03:06:17 -05:00
2022-10-18 10:18:09 -07:00
2022-08-04 18:02:01 -07:00
2022-08-04 18:09:10 -07:00
2022-12-06 12:15:04 -07:00
2022-11-04 00:09:27 +03:30
2022-11-04 00:09:27 +03:30
2022-12-09 13:40:55 -05:00