Re: htod - const

2012-03-06 Thread Trass3r

Why is 'const' removed?


cause htod sucks.
D1 didn't have const and htod wasn't updated for ages.


Re: htod - const

2012-03-06 Thread maarten van damme
trass3r, I wouldn't say that it sucks. It has really helped a lot in
porting some simple header files. It  goes terribly bad on the more complex
though.


Re: htod - const

2012-03-06 Thread dnewbie
Thanks Trass3r.

On Tue, Mar 6, 2012, at 05:50 PM, Trass3r wrote:
  Why is 'const' removed?
 
 cause htod sucks.
 D1 didn't have const and htod wasn't updated for ages.
 


Re: htod - const

2012-03-06 Thread Trass3r
Am 06.03.2012, 20:13 Uhr, schrieb maarten van damme  
maartenvd1...@gmail.com:



I wouldn't say that it sucks. It has really helped a lot in
porting some simple header files. It  goes terribly bad on the more  
complex though.


Sadly, using regular expressions is much more efficient.
At least those don't destroy the source by removing const, comments,  
evaluating preprocessor directives, etc.


Re: htod - const

2012-03-06 Thread Andrej Mitrovic
On 3/6/12, Trass3r u...@known.com wrote:
 Sadly, using regular expressions is much more efficient.

Do you have some script that does that and sorta works? I've tried
others (e.g. dstep but couldn't get LLVM to compile unfortunately..).