style: spell AST flag masks in binary
This commit is contained in:
@@ -10,7 +10,7 @@ build Honey from this directory:
|
|||||||
bro build
|
bro build
|
||||||
```
|
```
|
||||||
|
|
||||||
the bootstrap must support contextual `&[]` literals for mutable slices; collection initialization and reset use these literals instead of a dedicated empty-slice helper. if the installed `bro` predates that feature, use `../brolang/build/brolang build` after rebuilding Bro. zero-sized elements with nonzero logical lengths still use the memory module's specialized storage handling.
|
the bootstrap must support contextual `&[]` literals for mutable slices and prefixed integer literals (`0b`, `0o`, `0x`); collection initialization uses contextual empty slices and AST flag masks use binary spelling. if the installed `bro` predates either feature, rebuild Bro with `make -C ../brolang build` and use `../brolang/build/brolang build`. zero-sized elements with nonzero logical lengths still use the memory module's specialized storage handling.
|
||||||
|
|
||||||
run a source file with the interpreter:
|
run a source file with the interpreter:
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -202,10 +202,10 @@ NodeData :: union {
|
|||||||
binary_operator BinaryOperator
|
binary_operator BinaryOperator
|
||||||
}
|
}
|
||||||
|
|
||||||
@hide:file file_local_flag u8 :: 1
|
@hide:file file_local_flag u8 :: 0b0001
|
||||||
@hide:file foreign_type_flag u8 :: 2
|
@hide:file foreign_type_flag u8 :: 0b0010
|
||||||
@hide:file variadic_flag u8 :: 4
|
@hide:file variadic_flag u8 :: 0b0100
|
||||||
@hide:file opaque_flag u8 :: 8
|
@hide:file opaque_flag u8 :: 0b1000
|
||||||
|
|
||||||
@hide:file
|
@hide:file
|
||||||
Node :: struct {
|
Node :: struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user