[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile mode comment color didn't notice backslash continuation
From: |
Alexander Pohoyda |
Subject: |
Re: Makefile mode comment color didn't notice backslash continuation |
Date: |
13 Feb 2003 20:46:45 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> In short (too late...) the font-locking in makefile mode should ignore
> everything except make variables for colorization in a line that begins
> with a TAB (that's what make does, after all...)
OK, but what about a makefile like this:
MYVAR = 1 # comment \
same comment continues
According to info, GNU make treats the second line as a comment:
* `#' in a line of a makefile starts a "comment". It and the rest of
the line are ignored, except that a trailing backslash not escaped
by another backslash will continue the comment across multiple
lines.
So it should be colored as a comment.
--
Alexander Pohoyda
<alexander.pohoyda@gmx.net>
Re: Makefile mode comment color didn't notice backslash continuation,
Alexander Pohoyda <=