]> git.donarmstrong.com Git - lilypond.git/commitdiff
Emacs mode lines for parser.yy and lexer.ll
authorDavid Kastrup <dak@gnu.org>
Wed, 21 Dec 2011 20:53:36 +0000 (21:53 +0100)
committerDavid Kastrup <dak@gnu.org>
Sat, 24 Dec 2011 14:13:21 +0000 (15:13 +0100)
lily/lexer.ll
lily/parser.yy

index c4ba231c5138927c60be086b4e2ceb9159d35ee2..1777398f8ab3b2caafbceaad6c6f055960cce823 100644 (file)
@@ -1,4 +1,4 @@
-%{ // -*-Fundamental-*-
+%{ // -*- mode: c++; c-file-style: "linux" -*-
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+/* Mode and indentation are at best a rough approximation based on TAB
+ * formatting (reasonable for compatibility with unspecific editor
+ * modes as Flex modes are hard to find) and need manual correction
+ * frequently.  Without a reasonably dependable way of formatting a
+ * Flex file sensibly, there is little point in trying to fix the
+ * inconsistent state of indentation.
+ */
+
 /*
   backup rules
 
index ee469d17d06cc0cf15bfb240ed7e424decdc9010..c4806d741c3b6021ec4d46864958ed8ae31a148b 100644 (file)
@@ -1,3 +1,4 @@
+/* -*- mode: c++; c-file-style: "linux" -*- */
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+/* Mode and indentation are at best a rough approximation based on TAB
+ * formatting (reasonable for compatibility with unspecific editor
+ * modes as Bison modes are hard to find) and need manual correction
+ * frequently.  Without a reasonably dependable way of formatting a
+ * Bison file sensibly, there is little point in trying to fix the
+ * inconsistent state of indentation.
+ */
+
 %{
 
 #define YYDEBUG 1