Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

In particular I wanted the change that makes `suspend;` illegal in the
parser.
This commit is contained in:
Andrew Kelley
2021-04-24 10:44:41 -07:00
73 changed files with 1160 additions and 468 deletions

View File

@@ -557,18 +557,10 @@ pub const kernel_stat = extern struct {
size: off_t,
blksize: blksize_t,
blocks: blkcnt_t,
__atim32: timespec32,
__mtim32: timespec32,
__ctim32: timespec32,
__unused: [2]u32,
atim: timespec,
mtim: timespec,
ctim: timespec,
const timespec32 = extern struct {
tv_sec: i32,
tv_nsec: i32,
};
__unused: [2]u32,
pub fn atime(self: @This()) timespec {
return self.atim;