diff options
author | Nick Clifton <nickc@redhat.com> | 2002-04-16 08:13:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-04-16 08:13:03 +0000 |
commit | ea91f8bb52c9214712e01a62e0276700c95ba4df (patch) | |
tree | dd4af01991963be5fd9b18ee055374b184525783 /binutils/rcparse.y | |
parent | 091e58c11e06998ccc60faa7165266150a00b436 (diff) | |
download | gdb-ea91f8bb52c9214712e01a62e0276700c95ba4df.zip gdb-ea91f8bb52c9214712e01a62e0276700c95ba4df.tar.gz gdb-ea91f8bb52c9214712e01a62e0276700c95ba4df.tar.bz2 |
Define MEMFLAGS_DISCARDABLE by default for dialogs.
Add a test for this.
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r-- | binutils/rcparse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/rcparse.y b/binutils/rcparse.y index 24ef35c..5b3ffe3 100644 --- a/binutils/rcparse.y +++ b/binutils/rcparse.y @@ -1357,7 +1357,7 @@ suboptions: memset (&$$, 0, sizeof (struct res_res_info)); $$.language = language; /* FIXME: Is this the right default? */ - $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE; + $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE | MEMFLAG_DISCARDABLE; } | suboptions memflag { @@ -1406,7 +1406,7 @@ memflags_move: { memset (&$$, 0, sizeof (struct res_res_info)); $$.language = language; - $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE; + $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE | MEMFLAG_DISCARDABLE; } | memflags_move memflag { |