Re: Parser

"Mikael 'Zayenz' Lagerkvist" <d00-mla@nada.kth.se>
19 Sep 2002 01:14:20 -0400

          From comp.compilers

Related articles
Parser aaron.becher@eds.com (Aaron Becher) (2002-09-12)
Re: Parser lindig@eecs.harvard.edu (Christian Lindig) (2002-09-12)
Re: Parser knyblad@baan.com (Karsten Nyblad) (2002-09-12)
Re: Parser fjscipio@rochester.rr.com (Fred J. Scipione) (2002-09-14)
Re: Parser jakacki@hotmail.com (Grzegorz Jakacki) (2002-09-14)
Re: Parser vbdis@aol.com (VBDis) (2002-09-14)
Re: Parser d00-mla@nada.kth.se (Mikael 'Zayenz' Lagerkvist) (2002-09-19)
| List of all articles for this month |
From: "Mikael 'Zayenz' Lagerkvist" <d00-mla@nada.kth.se>
Newsgroups: comp.compilers
Date: 19 Sep 2002 01:14:20 -0400
Organization: Compilers Central
References: 02-09-078
Keywords: tools, parse
Posted-Date: 19 Sep 2002 01:14:19 EDT



On 12 Sep 2002, Aaron Becher wrote:
> What would be the best approach? I have a VERY large pool of source
> code that needs a certain line of code inserted at the beginning of
> every function (a macro).


One approach would be to use a parser from some open source project,
and use its debug information to locate the function headers in the
original source code. Looking up those lines in the original code and
insering the macro then shouldn't be a very big problem, I think.


Mikael Lagerkvist


___________________________________
Mikael 'Zayenz' Lagerkvist
Undergraduate Student
Computer Science
Royal Institute of Technology (KTH)
Stockholm, Sweden


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.