Changeset 5cdbfe in git for dyn_modules/bigintm/bigintm.cc


Ignore:
Timestamp:
Mar 15, 2011, 7:17:48 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f247337dd844f01e85a8379ff9c1e26fe7eea863
Parents:
92e0ebb492f002a11e78b302b3758d32aedea17e
Message:
ADD: dynamic module stuff...

From: Oleksandr Motsak <motsak@mathematik.uni-kl.de>

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

Legend:

Unmodified
Added
Removed
  • dyn_modules/bigintm/bigintm.cc

    r92e0eb r5cdbfe  
    106106  // interpreter: a1 is ist bigintm
    107107  assume( r->Typ() == bigintm_type_id );
    108 
     108/*
     109  // "typeof( <blackbox> )" is handled by 'blackboxDefaultOp1'
    109110  if (op==TYPEOF_CMD)
    110111  {
     
    113114    return FALSE;
    114115  }
     116*/
    115117 
    116118  if( op=='(' ) // <bigintm>  VAR();
     
    246248    case '.':
    247249    {
    248       Werror("bigintm_Op2: Op: '.': 2nd argument-type: '%s'(%d) in", Tok2Cmdname(a2->Typ()), a2->Typ());     
     250
     251      if (a2->name==NULL)
     252      {
     253        Werror("bigintm_Op2: Op: '.': 2nd argument-type: '%s'(%d) should be a NAME", Tok2Cmdname(a2->Typ()), a2->Typ());     
     254        return TRUE;
     255      }
     256     
     257      Werror("bigintm_Op2: Op: '.': 2nd argument-type: '%s'(%d) is called '%s' in ", Tok2Cmdname(a2->Typ()), a2->Typ(), a2->name);     
    249258      return blackboxDefaultOp2(op,res,a1,a2);
    250259      return TRUE;
Note: See TracChangeset for help on using the changeset viewer.