freebasic / fbfrog

FreeBASIC binding creation tool
Other
35 stars 17 forks source link

Improved -target and -v options #2

Closed rversteegen closed 7 years ago

rversteegen commented 7 years ago

Add -target \ and -target \-\, and -v -v to print out #define's and #undef's as they're encountered.

dkl commented 7 years ago

Interesting, thanks. It'd be nice to have test cases for the new features too.

rversteegen commented 7 years ago

Ah, I didn't think of that. In a few hours I'm flying to Mexico for a couple weeks, so I don't have time now.

Also, I realised that I could have made -v -v print out more, particular the names of types/typedefs as they are defined, though it's a bit less important, since in C they don't affect #ifdef. If I go that far then why not also print out constants, globals, enums, functions, and whatever else...