Changeset 3e35a1 in git


Ignore:
Timestamp:
Nov 10, 1998, 3:14:53 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
6d32d7da469159ba73a6256b743d2742747ed9d1
Parents:
9e2789b43fe9b89b5f5815b92ab89b5a03d8754e
Message:
*hannes: options takes noew also string arguments


git-svn-id: file:///usr/local/Singular/svn/trunk@2655 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc.cc

    r9e2789 r3e35a1  
    532532  do
    533533  {
    534     n=v->name;
    535     if (n==NULL) return TRUE;
    536     v->name=NULL;
     534    if (v->Typ()==STRING_CMD)
     535    {
     536      n=(char *)v->CopyD();
     537    }
     538    else
     539    {
     540      if (v->name==NULL)
     541        return TRUE;
     542      if (v->rtyp==0)
     543      {
     544        n=v->name;
     545        v->name=NULL;
     546      }
     547      else
     548      {
     549        n=mstrdup(v->name);
     550      }
     551    }
    537552
    538553    int i;
Note: See TracChangeset for help on using the changeset viewer.