summaryrefslogtreecommitdiff
path: root/util/newconfig
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-04-22 22:25:45 +0000
committerMyles Watson <mylesgw@gmail.com>2009-04-22 22:25:45 +0000
commit6315274cc89642bad0ff5518b0907a569814ac4c (patch)
tree68d7678fec5c65c934eb4d6ed0fffd18aa7a0acb /util/newconfig
parent85b851add801eee5de517d32a92048bb223d4054 (diff)
downloadcoreboot-6315274cc89642bad0ff5518b0907a569814ac4c.tar.xz
This patch fixes the parser. '|' has special meaning so [|] is used.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4187 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig')
-rw-r--r--util/newconfig/config.g2
1 files changed, 1 insertions, 1 deletions
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 }}