Date: Mon, 13 Sep 2010 18:26:34 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212570 - head/usr.sbin/config Message-ID: <201009131826.o8DIQYwn023363@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Sep 13 18:26:34 2010 New Revision: 212570 URL: http://svn.freebsd.org/changeset/base/212570 Log: Allow a kernel config to specify a set but empty value via 'makeoptions OPTION=' for consistency with the make commandline. Previously 'makeoptions WERROR=' would result in a syntax error; now it produces the same effect as 'makeoptions WERROR'. Both forms now result in 'WERROR=' in the generated Makefile. Modified: head/usr.sbin/config/config.y Modified: head/usr.sbin/config/config.y ============================================================================== --- head/usr.sbin/config/config.y Mon Sep 13 18:26:32 2010 (r212569) +++ head/usr.sbin/config/config.y Mon Sep 13 18:26:34 2010 (r212570) @@ -261,6 +261,7 @@ Mkopt_list: Mkoption: Save_id { newopt(&mkopt, $1, ns(""), 0); } | + Save_id EQUALS { newopt(&mkopt, $1, ns(""), 0); } | Save_id EQUALS Opt_value { newopt(&mkopt, $1, $3, 0); } | Save_id PLUSEQUALS Opt_value { newopt(&mkopt, $1, $3, 1); } ;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009131826.o8DIQYwn023363>