Ignoring resolved code of pre-compilers

Open discussion about WinMerge.

Ignoring resolved code of pre-compilers

Postby sf-mensch » Fri Mar 20, 2009 8:53 am

I would like to ignore output from pre compilers. Here is a small sample
Code before pre compiler
Code: Select all
       do something
       ;PRE one two
       do something

Code after pre compiler
Code: Select all
       do something
;PRE   do "one"
;PRE   do pre-stuff
;PRE   do convert "one" to "two"
       do something


As you can see the problem is: one line is changed to three lines (depending on the ;PRE command one line is changed to 1-12 lines). There is some macro syntax that describe all the conversations.

Question: Is there some way to ignore such lines (if yes it seems it's only possible with a Prediffer)? If there isn't something available like this: what would be necessary to implement stuff like this? (There's no question that the used macro syntax has to be defined in a syntax file.)

Greetings, sf-mensch
sf-mensch
 
Posts: 22
Joined: Wed Oct 29, 2008 2:17 pm

Return to Open Discussion

Who is online

Users browsing this forum: Google [Bot] and 15 guests