Changeset 97f271 in git
- Timestamp:
- Nov 14, 2000, 5:08:25 PM (23 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 76871f4bc4d0ed14486ba3123e4415306c836586
- Parents:
- dd01bf0ef5b6855f827f233d0f446456025e361f
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/grammar.y
rdd01bf0 r97f271 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: grammar.y,v 1.8 5 2000-11-10 15:00:02Singular Exp $ */4 /* $Id: grammar.y,v 1.86 2000-11-14 16:08:23 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: SINGULAR shell grammatik … … 53 53 54 54 /* From the bison docu: 55 55 56 56 By defining the macro `YYMAXDEPTH', you can control how deep the 57 57 parser stack can become before a stack overflow occurs. Define the … … 70 70 */ 71 71 #define YYMAXDEPTH INT_MAX 72 72 73 73 extern int yylineno; 74 74 extern FILE* yyin; … … 1040 1040 '<' stringexpr 1041 1041 { if ($<i>1 != '<') YYERROR; 1042 1042 if((feFilePending=feFopen($2,"r",NULL,TRUE))==NULL) YYERROR; } 1043 1043 ';' 1044 1044 { newFile($2,feFilePending); } … … 1371 1371 1372 1372 scriptcmd: 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; 1379 1376 } 1380 1377 ; -
Singular/iparith.cc
rdd01bf0 r97f271 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.2 29 2000-10-26 11:58:35 Singular Exp $ */4 /* $Id: iparith.cc,v 1.230 2000-11-14 16:08:25 Singular Exp $ */ 5 5 6 6 /* … … 2888 2888 return FALSE; 2889 2889 } 2890 static BOOLEAN jjKLAMMER_LIB(leftv res, leftv u)2891 {2892 char * s=(char *)u->Data();2893 return iiLibCmd(s);2894 }2895 2890 #ifdef MDEBUG 2896 2891 static BOOLEAN jjpHead(leftv res, leftv v) … … 3553 3548 ,{jjUMINUS_IV, '-', INTMAT_CMD, INTMAT_CMD } 3554 3549 ,{jjPROC1, '(', ANY_TYPE/*set by p*/,PROC_CMD } 3555 ,{jj KLAMMER_LIB,'(', NONE, STRING_CMD }3550 ,{jjLIB, '(', NONE, STRING_CMD } 3556 3551 // and the procedures with 1 argument: 3557 3552 ,{atATTRIB1, ATTRIB_CMD, NONE, DEF_CMD }
Note: See TracChangeset
for help on using the changeset viewer.