help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU make $(error )


From: Andre Merzky
Subject: Re: GNU make $(error )
Date: Tue, 20 Aug 2002 18:27:58 +0200
User-agent: Mutt/1.2.5.1i

Or vi of course - well, gvim I mean.  This is the standard vi fro
linux now, and supports quite reliable syntax highlighting for make.

Also available for other platforms, including win.

Andre.

On Tue, Aug 20, 2002 at 11:39:58AM -0400, Paul D. Smith wrote:
> 
> %% address@hidden writes:
> 
>   b> All I can say is DOH!  I wish I could find a makefile aware
>   b> editor... It would be nice to avoid trips like this.
> 
> Emacs.
> 
> Emacs has a makefile mode, and it will warn you about "suspicious
> lines", highlight variables, etc.
> 
> Unfortunately it would not have caught this problem, because it doesn't
> know about all make syntax, just line-by-line syntax (so it doesn't
> notice that the previous line was not a target).  Having an editor with
> this level of sophistication would be extremely difficult, because make
> syntax is not easily parsed with simple, BNF type rules.
> 
> I also argued strongly that the font-locking in Emacs makefile-mode
> should fontify all initial TAB characters, not just lines with a TAB but
> no subsequent text.  If that had been done you would probably have
> noticed the problem earlier.  But, my argument was not accepted :(.
> 
> -- 
> -------------------------------------------------------------------------------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.paulandlesley.org
>  "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
> 
> 
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-make



-- 
+------------------------------------------------------------------+
| Andre Merzky                   | phon: ++49 - 30 - 84 1 85 - 339 |
| Zuse Institute Berlin (ZIB)    | fax : ++49 - 30 - 84 1 85 - 107 |
| - Scientific Visualization -   | mail: address@hidden             |
| Takustr. 7 - D-14195 Berlin    | www : http://www.zib.de/merzky/ |
+------------------------------------------------------------------+




reply via email to

[Prev in Thread] Current Thread [Next in Thread]