Fix unresolved implicit dependency of c_ppline.st state on c.st
authorTim Retout <diocles@gnu.org>
Tue, 1 Jan 2008 17:26:59 +0000 (17:26 +0000)
committerTim Retout <diocles@gnu.org>
Tue, 1 Jan 2008 17:26:59 +0000 (17:26 +0000)
states/hl/ChangeLog
states/hl/c_ppline.st

index fb5a9be6ece75bf6c778cf41a42985e34794d5f8..a6195499ee2182b369f7e8092038127add18e779 100644 (file)
@@ -1,5 +1,8 @@
 2008-01-01  Tim Retout  <diocles@gnu.org>
 
 2008-01-01  Tim Retout  <diocles@gnu.org>
 
+       * c_ppline.st (c_ppline): Move dependency on C rules to top of file,
+       to fix use of CHighlight.
+
        * bash.st (bash): Fix highlighting of escaped quote marks.
        * csh.st (csh): Likewise.  
        * ksh.st (ksh): Likewise.
        * bash.st (bash): Fix highlighting of escaped quote marks.
        * csh.st (csh): Likewise.  
        * ksh.st (ksh): Likewise.
index 2bde85911ea06b2b5b180d4c4e813f6159ea01bf..fec44d5f6b34f39f9b8326a4783506c7951e3999 100644 (file)
@@ -3,11 +3,10 @@
  * Objective-C highlighting rules.
  */
 
  * Objective-C highlighting rules.
  */
 
+require_state (c);
+
 state c_ppline extends CHighlight
 {
 state c_ppline extends CHighlight
 {
-  BEGIN {
-    require_state (c);
-  }
   /* Comments within a pre-processor line. */
   /\/\*/ {
     comment_face (true);
   /* Comments within a pre-processor line. */
   /\/\*/ {
     comment_face (true);