diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-07-15 18:15:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-07-15 18:15:59 -0700 |
| commit | f11909227312882f29dbfc484dc79ab622792787 (patch) | |
| tree | 3f327f4d16c32034cb1eea79dfaeadfef6303d9b /src/codegen.cpp | |
| parent | e70d6d19f5a937504ce0e2f79d03a6275b6ff357 (diff) | |
| download | zig-f11909227312882f29dbfc484dc79ab622792787.tar.gz zig-f11909227312882f29dbfc484dc79ab622792787.zip | |
stage2: breaking AST memory layout modifications
ast.Node.Id => ast.Node.Tag, matching recent style conventions.
Now multiple different AST node tags can map to the same AST node data
structures. In this commit, simple prefix operators now all map top
SimplePrefixOp.
`ast.Node.castTag` is now preferred over `ast.Node.cast`.
Upcoming: InfixOp flattened out.
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
