flat assembler
Message board for the users of flat assembler.

flat assembler > Linux > extract #defines from headers

Author
Thread Post new topic Reply to topic
tifyd



Joined: 06 Apr 2006
Posts: 1
I got a little fed up of 'grepping' #defines that I needed in my asm files so I created a tiny perl script to do the job for me. Just thought I would share this incase any of you have the same problem. (I am not a perl programmer, so please forgive the code).

It currently only works by grabbing numerical #defines, feel free to improve this.

USAGE: ./extract.pl header.h > out.inc

Hope this helps.


Description: #define extractor for fasm
Download
Filename: extract.tar.gz
Filesize: 550 Bytes
Downloaded: 211 Time(s)

Post 06 Apr 2006, 14:30
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.