From 6315274cc89642bad0ff5518b0907a569814ac4c Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Wed, 22 Apr 2009 22:25:45 +0000 Subject: This patch fixes the parser. '|' has special meaning so [|] is used. Signed-off-by: Myles Watson Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4187 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/newconfig/config.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/newconfig') diff --git a/util/newconfig/config.g b/util/newconfig/config.g index a8130c8c66..b8bd38c857 100644 --- a/util/newconfig/config.g +++ b/util/newconfig/config.g @@ -1709,7 +1709,7 @@ parser Config: rule expr: logical {{ l = logical }} ( "&&" logical {{ l = l and logical }} - | "||" logical {{ l = l or logical }} + | "[|][|]" logical {{ l = l or logical }} )* {{ return l }} rule logical: factor {{ n = factor }} -- cgit v1.2.3