Changeset 97f271 in git


Ignore:
Timestamp:
Nov 14, 2000, 5:08:25 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
76871f4bc4d0ed14486ba3123e4415306c836586
Parents:
dd01bf0ef5b6855f827f233d0f446456025e361f
Message:
* hannes: iiLibCmd stuff


git-svn-id: file:///usr/local/Singular/svn/trunk@4724 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/grammar.y

    rdd01bf0 r97f271  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: grammar.y,v 1.85 2000-11-10 15:00:02 Singular Exp $ */
     4/* $Id: grammar.y,v 1.86 2000-11-14 16:08:23 Singular Exp $ */
    55/*
    66* ABSTRACT: SINGULAR shell grammatik
     
    5353
    5454/* From the bison docu:
    55    
     55
    5656     By defining the macro `YYMAXDEPTH', you can control how deep the
    5757parser stack can become before a stack overflow occurs.  Define the
     
    7070*/
    7171#define YYMAXDEPTH INT_MAX
    72    
     72
    7373extern int   yylineno;
    7474extern FILE* yyin;
     
    10401040        '<' stringexpr
    10411041          { if ($<i>1 != '<') YYERROR;
    1042             if((feFilePending=feFopen($2,"r",NULL,TRUE))==NULL) YYERROR; }
     1042            if((feFilePending=feFopen($2,"r",NULL,TRUE))==NULL) YYERROR; }
    10431043        ';'
    10441044          { newFile($2,feFilePending); }
     
    13711371
    13721372scriptcmd:
    1373          SYSVAR elemexpr
    1374           {
    1375             sleftv dummy;
    1376             if (($1!=LIB_CMD)
    1377             ||(iiExprArith1(&dummy,&$2,LIB_CMD)))
    1378               YYERROR;
     1373         SYSVAR stringexpr
     1374          {
     1375            if (($1!=LIB_CMD)||(iiLibCmd($2))) YYERROR;
    13791376          }
    13801377        ;
  • Singular/iparith.cc

    rdd01bf0 r97f271  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.229 2000-10-26 11:58:35 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.230 2000-11-14 16:08:25 Singular Exp $ */
    55
    66/*
     
    28882888  return FALSE;
    28892889}
    2890 static BOOLEAN jjKLAMMER_LIB(leftv res, leftv u)
    2891 {
    2892   char * s=(char *)u->Data();
    2893   return iiLibCmd(s);
    2894 }
    28952890#ifdef MDEBUG
    28962891static BOOLEAN jjpHead(leftv res, leftv v)
     
    35533548,{jjUMINUS_IV,  '-',             INTMAT_CMD,     INTMAT_CMD }
    35543549,{jjPROC1,      '(',             ANY_TYPE/*set by p*/,PROC_CMD }
    3555 ,{jjKLAMMER_LIB,'(',             NONE,           STRING_CMD }
     3550,{jjLIB,        '(',             NONE,           STRING_CMD }
    35563551// and the procedures with 1 argument:
    35573552,{atATTRIB1,    ATTRIB_CMD,      NONE,           DEF_CMD }
Note: See TracChangeset for help on using the changeset viewer.