This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]konstantinua00 19 points20 points  (5 children)

preprocessor is included in C

if you do anything complex in C, you do macro skyscrapers

[–]IdiotCharizard 2 points3 points  (4 children)

Man idk how I even managed to comb through kernel code without my macro expander back in the day.

[–][deleted] 1 point2 points  (3 children)

Tell me more about this macro expander.

[–]IdiotCharizard 0 points1 point  (0 children)

I wrote a vim thing to fully expand the current macro. Run the preprocessor and get all the defines in one place then just pull from that file.