Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/veriexecctl Allow multiple lines entries using '\' at t...



details:   https://anonhg.NetBSD.org/src/rev/d1fec709599f
branches:  trunk
changeset: 586947:d1fec709599f
user:      elad <elad%NetBSD.org@localhost>
date:      Thu Jan 05 20:16:20 2006 +0000

description:
Allow multiple lines entries using '\' at the end of the line.
Simplified by martin@, thanks. :)

diffstat:

 sbin/veriexecctl/veriexecctl_conf.l |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 897e306216c6 -r d1fec709599f sbin/veriexecctl/veriexecctl_conf.l
--- a/sbin/veriexecctl/veriexecctl_conf.l       Thu Jan 05 19:45:29 2006 +0000
+++ b/sbin/veriexecctl/veriexecctl_conf.l       Thu Jan 05 20:16:20 2006 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: veriexecctl_conf.l,v 1.6 2005/06/13 15:18:44 elad Exp $        */
+/*     $NetBSD: veriexecctl_conf.l,v 1.7 2006/01/05 20:16:20 elad Exp $        */
 
 /*-
  * Copyright 2005 Elad Efrat <elad%bsd.org.il@localhost>
@@ -67,11 +67,11 @@
                        return STRING;
                }
 
-
        /* comments, white-outs */
 [ \t\r]                |
 #.*            ;
 #.*\n          |
+\\\n           |
 ^\n            { line++; }
 
        /* eol on a line with data. need a call to ioctl, return eol */



Home | Main Index | Thread Index | Old Index