Fix unresolved implicit dependency of c_ppline.st state on c.st - enscript - GNU Enscript
HTML git clone git://thinkerwim.org/enscript.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4933d0270baaa187b7d968ba7c82a5bd2ec14e4d
DIR parent 309191449dee4b93e2b1015665c2f3ad41f0801e
HTML Author: Tim Retout <diocles@gnu.org>
Date: Tue, 1 Jan 2008 17:26:59 +0000
Fix unresolved implicit dependency of c_ppline.st state on c.st
Diffstat:
M states/hl/ChangeLog | 3 +++
M states/hl/c_ppline.st | 5 ++---
2 files changed, 5 insertions(+), 3 deletions(-)
---
DIR diff --git a/states/hl/ChangeLog b/states/hl/ChangeLog
@@ -1,5 +1,8 @@
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.
DIR diff --git a/states/hl/c_ppline.st b/states/hl/c_ppline.st
@@ -3,11 +3,10 @@
* Objective-C highlighting rules.
*/
+require_state (c);
+
state c_ppline extends CHighlight
{
- BEGIN {
- require_state (c);
- }
/* Comments within a pre-processor line. */
/\/\*/ {
comment_face (true);