std.zig.parse cleanup

This commit is contained in:
Andrew Kelley 2018-05-13 14:20:01 -04:00
parent 05ecb49bac
commit abcd418451
2 changed files with 368 additions and 424 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,11 @@
//test "zig fmt: same-line doc comment on variable declaration" {
// try testCanonical(
// \\pub const MAP_ANONYMOUS = 0x1000; /// allocated from memory, swap space
// \\pub const MAP_FILE = 0x0000; /// map from file (default)
// \\
// );
//}
test "zig fmt: same-line comment after a statement" {
try testCanonical(
\\test "" {