2010/5/1 David Kastrup <d...@gnu.org>:
>
> Incidentally, I already happened to have one of those in my patch series
> where the consequences were all too bad.
>
> Here goes: flex/bison files need, for lack of better alternatives, to be
> edited in c++-mode in Emacs.
>
> Unmatched double quotes throw all syntactic entities off terribly.  So
> I'd tend to just double those quotes where they occur in a pattern like
>
> [^\\""]    { ...
>
> since duplication in a character set is harmless.  An uglier alternative
> would be
>
> [^\\"]    // "
>          { ...
>
> Is the former ok with people?  It does no harm, and is not likely to get
> confused with anything.  And it makes handling those files in c++-mode
> smoother in Emacs and likely in other editors as well.


I can only say that this trick is already being used in Documentation.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to