Changeset 34fbd93 in git for Singular/subexpr.cc


Ignore:
Timestamp:
Jul 9, 1999, 4:58:30 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
6959c49751ce060112fd62dace5b8f7590c72602
Parents:
609ba11e29d4d3c44b5785da0728121bbc8e0065
Message:
* hannes: ring r=(real,20,I),x,lp; <==> ring r=(real(20),I),x,lp;
          error message for CMD_M fixed (see coef("1","2");)
	  (grammar.y iparith.cc ipshell.h scanner.l subexpr.cc)


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

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    r609ba11 r34fbd93  
    55* ABSTRACT: handling of leftv
    66*/
    7 /* $Id: subexpr.cc,v 1.51 1999-06-15 11:36:41 Singular Exp $ */
     7/* $Id: subexpr.cc,v 1.52 1999-07-09 14:58:30 Singular Exp $ */
    88
    99#include <stdlib.h>
     
    12111211* utility for grammar and iparith
    12121212*/
    1213 extern BOOLEAN noringvars;
    12141213void syMake(leftv v,char * id, idhdl packhdl)
    12151214{
     
    13331332    {
    13341333      BOOLEAN ok=FALSE;
    1335       poly p = (!noringvars) ? pmInit(id,ok) : (poly)NULL;
     1334      poly p = (!yyInRingConstruction) ? pmInit(id,ok) : (poly)NULL;
    13361335      if (ok)
    13371336      {
     
    13631362    {
    13641363      BOOLEAN ok=FALSE;
    1365       poly p = ((currRingHdl!=NULL)&&(!noringvars)&&(IDLEV(currRingHdl)!=myynest))
    1366                /* ring required */  /* not in decl */    /* already in case 4/6 */
     1364      poly p = ((currRingHdl!=NULL)     /* ring required */
     1365               &&(!yyInRingConstruction) /* not in decl */
     1366               &&(IDLEV(currRingHdl)!=myynest)) /* already in case 4/6 */
    13671367                     ? pmInit(id,ok) : (poly)NULL;
    13681368      if (ok)
Note: See TracChangeset for help on using the changeset viewer.