fix non-portable syntax.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@893 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
06a927dd68
commit
7edf2ca6ff
|
@ -1094,14 +1094,14 @@ parser Config:
|
||||||
( DEFAULT
|
( DEFAULT
|
||||||
( value {{ setdefault(ID, value) }}
|
( value {{ setdefault(ID, value) }}
|
||||||
| NONE {{ setnodefault(ID) }}
|
| NONE {{ setnodefault(ID) }}
|
||||||
) {{ d |= 1 }}
|
) {{ d = d | 1 }}
|
||||||
| FORMAT STR {{ setformat(ID, dequote(STR)) }}
|
| FORMAT STR {{ setformat(ID, dequote(STR)) }}
|
||||||
| EXPORT
|
| EXPORT
|
||||||
( ALWAYS {{ setexported(ID) }}
|
( ALWAYS {{ setexported(ID) }}
|
||||||
| USED {{ setexportable(ID) }}
|
| USED {{ setexportable(ID) }}
|
||||||
| NEVER {{ setnoexport(ID) }}
|
| NEVER {{ setnoexport(ID) }}
|
||||||
) {{ d |= 2 }}
|
) {{ d = d | 2 }}
|
||||||
| COMMENT STR {{ setcomment(ID, dequote(STR)); d |= 4 }}
|
| COMMENT STR {{ setcomment(ID, dequote(STR)); d = d | 4 }}
|
||||||
)+ {{ return d }}
|
)+ {{ return d }}
|
||||||
|
|
||||||
rule define: DEFINE ID {{ newoption(ID) }}
|
rule define: DEFINE ID {{ newoption(ID) }}
|
||||||
|
|
Loading…
Reference in New Issue