From ea91f8bb52c9214712e01a62e0276700c95ba4df Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 16 Apr 2002 08:13:03 +0000 Subject: Define MEMFLAGS_DISCARDABLE by default for dialogs. Add a test for this. --- binutils/rcparse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binutils/rcparse.y') 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 { -- cgit v1.1