diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-04-25 01:07:14 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-04-25 01:07:14 -0400 |
commit | 56e18402300f730828204f5aa05eac9df7adfca3 (patch) | |
tree | eca72a9d6881b9688f3597edbe3c8f0a5e395698 /main.c | |
parent | 0513b05f6fdc8a400a0b85fa8ca5784184bab2a0 (diff) |
fixed problem where local structs were named in c
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -8,7 +8,6 @@ /* @TODO: -local structs should not be named in C make sure global slices work allow `use ???;` if an error has already occurred if something gets included into a namespace, and its typing fails, the namespace should still be of type namespace, not ??? @@ -17,8 +16,7 @@ do we consistently handle x := &some_array_or_slice; x.len use - use with struct members (e.g. SuperPoint ::= struct { use p: Point; }) compile to a temp file, then move it if compilation succeeds -if you include something twice, it should #define one thing to the other -- it's okay because struct field can't contain __ - -> allow #force'd includes to namespaces +fix including something twice - just use the non-namespacey version if it exists or pick one namespace to use everywhere otherwise &void simplify eval macros with val_to_u/i64 #if should not create a block |