Changeset 34fbd93 in git for Singular/grammar.y
- Timestamp:
- Jul 9, 1999, 4:58:30 PM (24 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 6959c49751ce060112fd62dace5b8f7590c72602
- Parents:
- 609ba11e29d4d3c44b5785da0728121bbc8e0065
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/grammar.y
r609ba11 r34fbd93 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: grammar.y,v 1.6 1 1999-05-29 12:00:01Singular Exp $ */4 /* $Id: grammar.y,v 1.62 1999-07-09 14:58:24 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: SINGULAR shell grammatik … … 58 58 char my_yylinebuf[80]; 59 59 char * currid; 60 BOOLEAN noringvars=FALSE;60 BOOLEAN yyInRingConstruction=FALSE; 61 61 BOOLEAN expected_parms; 62 62 int cmdtok; … … 364 364 siq=0; 365 365 #endif 366 noringvars= FALSE;366 yyInRingConstruction = FALSE; 367 367 currentVoice->ifsw=0; 368 368 if (inerror) … … 941 941 UNKNOWN_IDENT 942 942 { 943 #if 0944 if (!($$=rOrderName($1)))945 YYERROR;946 #else947 943 // let rInit take care of any errors 948 944 $$=rOrderName($1); 949 #endif950 945 } 951 946 ; … … 1309 1304 1310 1305 ringcmd1: 1311 RING_CMD { noringvars= TRUE; }1306 RING_CMD { yyInRingConstruction = TRUE; } 1312 1307 ; 1313 1308 … … 1343 1338 $6.CleanUp(); 1344 1339 $8.CleanUp(); 1345 noringvars= FALSE;1340 yyInRingConstruction = FALSE; 1346 1341 if (b==NULL) 1347 1342 { … … 1371 1366 if(do_pop) namespaceroot->pop(); 1372 1367 #endif /* HAVE_NAMESPACES */ 1373 noringvars= FALSE;1374 } 1375 | DRING_CMD { noringvars= TRUE; }1368 yyInRingConstruction = FALSE; 1369 } 1370 | DRING_CMD { yyInRingConstruction = TRUE; } 1376 1371 elemexpr cmdeq 1377 1372 rlist ',' /* description of coeffs */ … … 1412 1407 rDSet(); 1413 1408 #endif 1414 noringvars= FALSE;1409 yyInRingConstruction = FALSE; 1415 1410 } 1416 1411 ;
Note: See TracChangeset
for help on using the changeset viewer.