Changeset 97f271 in git for Singular/grammar.y


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


git-svn-id: file:///usr/local/Singular/svn/trunk@4724 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 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        ;
Note: See TracChangeset for help on using the changeset viewer.