Define MEMFLAGS_DISCARDABLE by default for dialogs.
[deliverable/binutils-gdb.git] / binutils / rcparse.y
index 24ef35cf04501467bdec1a75c15e1e5958e5a2f5..5b3ffe3ae1c13428eb8d750b4304868fd06d4e91 100644 (file)
@@ -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
          {
This page took 0.023925 seconds and 4 git commands to generate.