Re: Parser

"Mikael 'Zayenz' Lagerkvist" <>
19 Sep 2002 01:14:20 -0400

          From comp.compilers

Related articles
Parser (Aaron Becher) (2002-09-12)
Re: Parser (Christian Lindig) (2002-09-12)
Re: Parser (Karsten Nyblad) (2002-09-12)
Re: Parser (Fred J. Scipione) (2002-09-14)
Re: Parser (Grzegorz Jakacki) (2002-09-14)
Re: Parser (VBDis) (2002-09-14)
Re: Parser (Mikael 'Zayenz' Lagerkvist) (2002-09-19)
| List of all articles for this month |

From: "Mikael 'Zayenz' Lagerkvist" <>
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.