Changeset fa8420 in git for factory/ftest/insert.m4


Ignore:
Timestamp:
Apr 6, 1998, 12:50:46 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
3ba84ce0237d1edda5eed542f689d3e795661cdb
Parents:
a42239a667454add16526617638435dcc1115d49
Message:
***** merge from branch `factory-gcd' to main trunk


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

Legend:

Unmodified
Added
Removed
  • factory/ftest/insert.m4

    ra42239 rfa8420  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: insert.m4,v 1.1 1997-11-05 16:10:15 schmidt Exp $ */
     2/* $Id: insert.m4,v 1.2 1998-04-06 10:48:37 schmidt Exp $ */
    33
    44ftestSetNameOfGame( insert, `"
    55Usage: insert [<options>] [<envSpec>] <f> <g> [<v>]
    6   inserts canonical form g for variable v in canonical form f.
    7   v defaults to main variable of f if not explicitely specified.
     6  inserts canonical form <g> for variable <v> in canonical form
     7  <f>.  <v> defaults to main variable of <f> if not explicitely
     8  specified.
    89"'`' )
    910
     
    4647
    4748    // do the test!
    48     ftestRun(
    49         if ( ftestArgGiven( v ) )
    50             result = f( g, v );
    51         else
    52             result = f( g ); );
     49    if ( ftestArgGiven( v ) ) {
     50        ftestRun( result = f( g, v ); );
     51    } else {
     52        ftestRun( result = f( g ); );
     53    }
    5354
    5455    // print results
Note: See TracChangeset for help on using the changeset viewer.