Conversation
cf0a274 to
b14af28
Compare
| ucell address PACKED; /* address in the code segment where generated code (for this file) starts */ | ||
| char name[1]; /* ASCII string, zero-terminated */ | ||
| ucell address | ||
| PACKED; /* address in the code segment where generated code (for this file) starts */ |
| { 90, "zero.alt", sIN_CSEG, parm0 }, | ||
| { 89, "zero.pri", sIN_CSEG, parm0 }, | ||
| { 92, "zero.s", sIN_CSEG, parm1 }, | ||
| /* node for "invalid instruction" */ |
There was a problem hiding this comment.
This is probably better before.
There was a problem hiding this comment.
Agree, I'll disable clang-format around this list.
| int hier3(value *lval); | ||
| int hier2(value *lval); | ||
| int hier1(value *lval1); | ||
| int plnge(int *opstr, int opoff, HierFn hier, value *lval, const char *forcetag, |
There was a problem hiding this comment.
I'm not sure what the deal is, but it seems like where the asterisk gets nestled by the formatter varies. Here, it's with the variable name and in other places it's with the type.
Example in compiler/assember.h: void assemble(const char* outname, memfile_t* fin);
There was a problem hiding this comment.
I think I have to forcefully disable this in the clang-format config.
| do { \ | ||
| enum { assert_static__ = 1/(e) }; \ | ||
| } while (0) | ||
| # define assert_static(e) \ |
There was a problem hiding this comment.
didn’t know we had this, if we’re c++11 now we should trash this at some point. Unrelated to this pr, just a note
|
no more shrieks of horror, let's do this |
This restyles include/.h and compiler/.{h,cpp} in AMTL style.