Changeset ef8e31 in git


Ignore:
Timestamp:
Sep 23, 2010, 4:54:44 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
1bbe56c3395fb524e5d06af66fab7842d676ab88
Parents:
63da2709a320941e4f1f989f4620fb9bf40496da
Message:
handle LIB"

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

Legend:

Unmodified
Added
Removed
  • Singular/checklibs.c

    r63da27 ref8e31  
    7171    }
    7272    else if (strstr(buf,"LIB ")!=NULL) break;
     73    else if (strstr(buf,"LIB\"")!=NULL) break;
    7374    else if (strstr(buf,"proc ")!=NULL) break;
    7475    else if (strncmp(buf,"\";",2)==0) break; /* poor mans end-of-info*/
     
    104105    if (*p=='\0') { get_next(); (*l)++; }
    105106    else if (strstr(buf,"LIB ")!=NULL) break;
     107    else if (strstr(buf,"LIB\"")!=NULL) break;
    106108    else if (strstr(buf,"proc ")!=NULL) break;
    107109    else if (strncmp(buf,"\";",2)==0) break; /* poor mans end-of-info*/
     
    287289      if (p=pp) { have_info++; scan_info(&header); }
    288290    }
     291    if ((p=strstr(buf,"LIB\""))!=NULL)
     292    {
     293      printf("error: use a space between LIB and \""\n);
     294      if (p!=buf)
     295      { printf("end of header ? LIB should be in col. 1:>>%s<<\n",buf); }
     296      break; /* end of header */
     297    }
    289298    if ((p=strstr(buf,"LIB \""))!=NULL)
    290299    {
Note: See TracChangeset for help on using the changeset viewer.