Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config A bit more of previous.
details: https://anonhg.NetBSD.org/src/rev/7d1c483a17bc
branches: trunk
changeset: 777960:7d1c483a17bc
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Mar 11 01:09:42 2012 +0000
description:
A bit more of previous.
diffstat:
usr.bin/config/gram.y | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 0988ce70371a -r 7d1c483a17bc usr.bin/config/gram.y
--- a/usr.bin/config/gram.y Sun Mar 11 01:06:06 2012 +0000
+++ b/usr.bin/config/gram.y Sun Mar 11 01:09:42 2012 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: gram.y,v 1.26 2012/03/11 00:57:44 dholland Exp $ */
+/* $NetBSD: gram.y,v 1.27 2012/03/11 01:09:42 dholland Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -208,9 +208,9 @@
/* Directory specification. */
topthing:
- SOURCE filename '\n' { if (!srcdir) srcdir = $2; }
+ '\n'
+ | SOURCE filename '\n' { if (!srcdir) srcdir = $2; }
| BUILD filename '\n' { if (!builddir) builddir = $2; }
- | '\n'
;
/* "machine foo" from std.whatever */
@@ -229,8 +229,8 @@
/* Subarches declaration. */
subarches:
- subarches WORD { $$ = new_nx($2, $1); }
- | WORD { $$ = new_n($1); }
+ WORD { $$ = new_n($1); }
+ | subarches WORD { $$ = new_nx($2, $1); }
;
/************************************************************/
Home |
Main Index |
Thread Index |
Old Index