summaryrefslogtreecommitdiff
path: root/util/newconfig
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-06-24 03:08:57 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-06-24 03:08:57 +0000
commit7edf2ca6ff27671477915f79646f19d47596eb8b (patch)
tree2256b965c294eef776ecb8609a7b3b865c55c4d9 /util/newconfig
parent06a927dd6820a03d872934e82b05989a988d4b11 (diff)
fix non-portable syntax.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@893 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig')
-rw-r--r--util/newconfig/config.g6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index 0952279be5..09e60eb823 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -1094,14 +1094,14 @@ parser Config:
( DEFAULT
( value {{ setdefault(ID, value) }}
| NONE {{ setnodefault(ID) }}
- ) {{ d |= 1 }}
+ ) {{ d = d | 1 }}
| FORMAT STR {{ setformat(ID, dequote(STR)) }}
| EXPORT
( ALWAYS {{ setexported(ID) }}
| USED {{ setexportable(ID) }}
| NEVER {{ setnoexport(ID) }}
- ) {{ d |= 2 }}
- | COMMENT STR {{ setcomment(ID, dequote(STR)); d |= 4 }}
+ ) {{ d = d | 2 }}
+ | COMMENT STR {{ setcomment(ID, dequote(STR)); d = d | 4 }}
)+ {{ return d }}
rule define: DEFINE ID {{ newoption(ID) }}