russellallen / self

Making the world safe for objects
http://selflanguage.org
707 stars 76 forks source link

Fix `#pragma implementation` nits #142

Closed nbuwe closed 1 year ago

nbuwe commented 1 year ago

This PR makes it possible to compile Self with #pragma interface and #pragma implementation again, reducing amount of object code emitted for inline functions. I think these changes should be pretty uncontroversial, except may be for the last one that g/c'es some extra blank lines, which might be seen as unnecessary churn.

This PR does not contain any diffs to actually change the way Self is built though. Those are in a separate PR (#143), as I'm groping around the build system and I'm much less sure about the proposed changes.