[D3D8 PATCH] d3d8 shaders update - VS2

Fabian Cenedese Cenedese at indel.ch
Thu Dec 19 03:14:03 CST 2002


> > >/* note about reason for commenting block */
> > >#if 0
> > >code
> > >code /* comments */
> > >code
> > >#endif
> >
> > Whereas this is the solution with the least work it's also hard to 
> spot. If
> > using
> > a text editor with syntax coloring it all looks the same. But if a code 
> isn't
> > effective I'd like to see that.
>
>Actually it could be considered as an editor fault if it changes color for
>commented out code but doesn't recognize the #if 0/#endif construct.

I wouldn't say so. A comment is easily recognized by the chars /* */ or //.
But to get a #if 0 or #if _ANYTHING you really need a language dependant
preprocessor which goes beyond a normal text editor, even one with
syntax coloring.
Do you have such a text editor that finds #if's?

bye  Fabi






More information about the wine-devel mailing list