Changeset bcd557 in git


Ignore:
Timestamp:
Jun 18, 1998, 7:32:13 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
300a346b7aab2a310ad9542b7b9ed1e68c1a8be2
Parents:
0a53a908f6c1a64a4e1f1b05085604516b79f95d
Message:
* hannes:error handling (grammar.y iparith.cc iplib.cc)
          (leaving of levels, local vars, messages,..)


git-svn-id: file:///usr/local/Singular/svn/trunk@2200 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/ChangeLog

    r0a53a9 rbcd557  
     1Thu Jun 18 19:27:27 MET DST 1998 hannes
     2        * error handling (grammar.y iparith.cc iplib.cc)
     3          (leaving of levels, local vars, messages,..)
     4          The reason:
     5               proc p { intvec w; w[0]; }
     6               proc p2 {int i;p();"huhu";}
     7               p2(); int i; listvar();
     8
    191998-06-13  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    210
    3         * feread.cc: explicit declaration of stuff we need from readline.h
     11        * feread.cc: explicit declaration of stuff we need from readline.h
    412
    5131998-06-12  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    614
    7         * polys.cc: pComp for simple orderings based on only three
    8         routines (no variation for # of variables)
    9 
    10         * spolys0.cc (spGSpolyLoop): globally replaced by spSpolyLoop_General
     15        * polys.cc: pComp for simple orderings based on only three
     16        routines (no variation for # of variables)
     17
     18        * spolys0.cc (spGSpolyLoop): globally replaced by spSpolyLoop_General
    1119
    1220Fri Jun 12 12:11:06 MET DST 1998 hannes
    13         * minor optimizations in polys.cc, kutil.* kstd1.cc:
    14           pass pointers, not structures to posIn[LT],
    15           do not check for NULL in pDeg (as pFDeg does not check)
     21        * minor optimizations in polys.cc, kutil.* kstd1.cc:
     22          pass pointers, not structures to posIn[LT],
     23          do not check for NULL in pDeg (as pFDeg does not check)
    1624
    1725Wed Jun  3 16:20:22 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    1826
    19         * Makefile.in (DOCS): target removed
    20           (DISTFILES): reference to `$(DOC)' removed
    21           (distclean): reference to `$(docdir)' removed
     27        * Makefile.in (DOCS): target removed
     28          (DISTFILES): reference to `$(DOC)' removed
     29          (distclean): reference to `$(docdir)' removed
    2230
    2331Wed Jun 03 16:46:06 1998    <pohl@FUECHSE>
    2432
    25         * claptmpl.cc: instantiation for operator == (CFFactor, CFFactor)
    26           added
     33        * claptmpl.cc: instantiation for operator == (CFFactor, CFFactor)
     34          added
    2735
    2836Tue Jun  2 17:28:48 MET DST 1998 hannes
    29         * introduced /* */ comments
    30         * some code cleanups
     37        * introduced /* */ comments
     38        * some code cleanups
    3139Fri May 29 17:00:27 MET DST 1998 hannes
    32         * change res to nres (cmd), resu to res(standard.lib)
    33           including changes to libs, docs (partially)
     40        * change res to nres (cmd), resu to res(standard.lib)
     41          including changes to libs, docs (partially)
    3442Wed May 27 19:13:10 MET DST 1998 hannes
    35         * removed #define HAVE_GMP and non-gmp-parts
     43        * removed #define HAVE_GMP and non-gmp-parts
    3644Wed May 20 15:03:28 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    3745
    38         * LIB/primdec.lib (info): info string reformated
     46        * LIB/primdec.lib (info): info string reformated
    3947
    40481998-05-19  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    4149
    42         * find_exec.c (find_executable): add "." top path, if under WINNT
    43         and MSDOS display
    44 
    45         * mmutil.c (mmCheckDBMCB): use _end only #ifdef unix
    46 
    47         * ideals.cc (idDelLmEquals): added idDelLmEqual == simplify(16),
    48         and idDelDiv == simplify(32); improved pComparePolys
     50        * find_exec.c (find_executable): add "." top path, if under WINNT
     51        and MSDOS display
     52
     53        * mmutil.c (mmCheckDBMCB): use _end only #ifdef unix
     54
     55        * ideals.cc (idDelLmEquals): added idDelLmEqual == simplify(16),
     56        and idDelDiv == simplify(32); improved pComparePolys
    4957
    50581998-05-18  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    5159
    52         * extra.cc (jjSYSTEM): changed "whoami" --> "Singular", added
    53         "nblocks"
     60        * extra.cc (jjSYSTEM): changed "whoami" --> "Singular", added
     61        "nblocks"
    5462
    5563Sat May 16 14:14:20 MET DST 1998 hannes
     
    6573  without gftables (ring.cc)
    6674Wed May 13 16:52:09 MET DST 1998 hannes
    67         * changed syntax of NOT (does not require () any more)
     75        * changed syntax of NOT (does not require () any more)
    6876Tue May 12 16:58:13 MET DST 1998 hannes
    69         * changed return type of option(): none -> string
     77        * changed return type of option(): none -> string
    7078Tue May 12 11:57:50 MET DST 1998 hannes
    71         * added "lres"
     79        * added "lres"
    72801998-05-08  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    7381
    74         * extra.cc (jjSYSTEM): put all undocumented system calls into
    75         #ifdef HAVE_EXTENDED_SYSTEM which is _not_ defined by default
    76 
    77         * exteded system("random") to always return the seed of the random
    78         generator
     82        * extra.cc (jjSYSTEM): put all undocumented system calls into
     83        #ifdef HAVE_EXTENDED_SYSTEM which is _not_ defined by default
     84
     85        * exteded system("random") to always return the seed of the random
     86        generator
    7987
    8088Thu May  7 19:49:34 MET DST 1998 hannes
    8189        * added syntax rule "proc <name> <arglist> <string> <body>"
    82         * speedup for feReadLine
     90        * speedup for feReadLine
    8391
    8492Wed May  6 19:10:59 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    8593
    86         * find_exec.c (find_executable): bug fix.  Recognizes
    87           `../Singular' properly.
     94        * find_exec.c (find_executable): bug fix.  Recognizes
     95          `../Singular' properly.
    8896
    8997Tue May  5 14:06:12 1998  Jens/Kai
    9098
    91         * libparse.l: message fix
     99        * libparse.l: message fix
    92100
    93101Thu Apr 30 19:16:45 MET DST 1998 hannes
    94         * fixed "missing e-o-buffer" for long lines in febase.inc
     102        * fixed "missing e-o-buffer" for long lines in febase.inc
    95103
    96104Wed Apr 29 18:26:19 MET DST 1998 hannes
    97         * added filed list_length tossyStrategy
    98         ( for conversion list <-> resolution): syz.h, syz1.cc, iparith.cc
     105        * added filed list_length tossyStrategy
     106        ( for conversion list <-> resolution): syz.h, syz1.cc, iparith.cc
    991071998-04-29  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    100108
    101         * mmutil.c (mmGetIndex): new implementation: Use generated lookup
    102         table (mmutil.inc) instead of "binary" search on size
     109        * mmutil.c (mmGetIndex): new implementation: Use generated lookup
     110        table (mmutil.inc) instead of "binary" search on size
    103111
    104112Tue Apr 28 19:56:46 MET DST 1998 hannes
     
    1061141998-04-28  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    107115
    108         * kstd2.cc (redHomog): Some more ouput for KDEBUG && TEST_OPT_DEBUG
    109 
    110         * mminit.cc: introduced memory(2) which measures physical memory
    111         consumption using the system call sbrk (this never lies!)
     116        * kstd2.cc (redHomog): Some more ouput for KDEBUG && TEST_OPT_DEBUG
     117
     118        * mminit.cc: introduced memory(2) which measures physical memory
     119        consumption using the system call sbrk (this never lies!)
    112120
    113121Mon Apr 27 18:07:21 MET DST 1998 hannes
    114         * use ReAlloc for enlargeT, enlargeL  (kutil.cc)
     122        * use ReAlloc for enlargeT, enlargeL  (kutil.cc)
    115123Mon Apr 27 16:45:41 MET DST 1998 hannes
    116124        * fixed conversion of factory 0 to poly NULL (clapconv.cc)
     
    1181261998-04-27  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    119127
    120         * febase.cc (myfread): introduced myfread and myfopen which assure
    121         that newlines in text files are always \n
     128        * febase.cc (myfread): introduced myfread and myfopen which assure
     129        that newlines in text files are always \n
    122130
    123131Fri Apr 24 19:14:42 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    124132
    125         * clapsing.cc (FACTORY_GCD_STAT, singclap_divide_content):
    126           dependency on FACTORY_GCD_TEST removed.  Statistics are now done
    127           using `FACTORY_GCDSTAT' and `FCATORY_CONTSTAT' which are defined
    128           to expand to nothing if `FACTORY_GCD_TIMING' is off.
    129 
    130         * extra.cc (FACTORY_GCD_STAT): dependency on `FACTORY_GCD_TEST'
    131           removed.  Includes `gcd_stat.h' in dependency on
    132           `FACTORY_CGD_STAT'.
    133 
    134         * extra.cc (jjSYSTEM): new command `gcdstat' in dependency on
    135           `FACTORY_GCD_STAT'
     133        * clapsing.cc (FACTORY_GCD_STAT, singclap_divide_content):
     134          dependency on FACTORY_GCD_TEST removed.  Statistics are now done
     135           using `FACTORY_GCDSTAT' and `FCATORY_CONTSTAT' which are defined
     136           to expand to nothing if `FACTORY_GCD_TIMING' is off.
     137
     138        * extra.cc (FACTORY_GCD_STAT): dependency on `FACTORY_GCD_TEST'
     139          removed.  Includes `gcd_stat.h' in dependency on
     140          `FACTORY_CGD_STAT'.
     141
     142        * extra.cc (jjSYSTEM): new command `gcdstat' in dependency on
     143          `FACTORY_GCD_STAT'
    136144
    137145Fri Apr 24 18:25:23 MET DST 1998 hannes
     
    146154Thu Apr 23 11:12:48 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    147155
    148         * clapsing.cc (FACTORY_CFTROUT, FACTORY_CFAOUT): stuipd bug fix
    149 
    150         * clapsing.cc (FACTORY_ALGOUT, FACTORY_CFTROUT, FACTORY_CFAOUT):
    151           new macros for debugging data transfer to Factory
    152           (singclap_divide_content, singclap_alglcm,
    153           singclap_algdividecontent): use the new macros
    154 
    155         * clapsing.cc (FACTORY_GCD_TIMING, singclap_divide_content,
    156           singclap_alglcm, singclap_algdividecontent): dependency on
    157           FACTORY_GCD_TEST removed.  Timings are now done directly using
    158           `TIMING_START' and `TIMING_END' which are defined to expand to
    159           nothing if `FACTORY_GCD_TIMING' is off.
    160 
    161         * extra.cc (FACTORY_GCD_TIMING): dependency on FACTORY_GCD_TEST
    162           removed
    163 
    164         * longalg.cc (naNormalize): gcd calculation depends on #define
    165           `FACTORY_GCD_TEST'
     156        * clapsing.cc (FACTORY_CFTROUT, FACTORY_CFAOUT): stuipd bug fix
     157
     158        * clapsing.cc (FACTORY_ALGOUT, FACTORY_CFTROUT, FACTORY_CFAOUT):
     159          new macros for debugging data transfer to Factory
     160           (singclap_divide_content, singclap_alglcm,
     161           singclap_algdividecontent): use the new macros
     162
     163        * clapsing.cc (FACTORY_GCD_TIMING, singclap_divide_content,
     164          singclap_alglcm, singclap_algdividecontent): dependency on
     165          FACTORY_GCD_TEST removed.  Timings are now done directly using
     166          `TIMING_START' and `TIMING_END' which are defined to expand to
     167          nothing if `FACTORY_GCD_TIMING' is off.
     168
     169        * extra.cc (FACTORY_GCD_TIMING): dependency on FACTORY_GCD_TEST
     170          removed
     171
     172        * longalg.cc (naNormalize): gcd calculation depends on #define
     173          `FACTORY_GCD_TEST'
    166174
    167175Wed Apr 22 09:42:35 MET DST 1998 hannes
     
    174182Tue Apr 21 12:30:44 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    175183
    176         * clapsing.cc  (singclap_gcd): checks for `NULL' removed
    177        
    178         * clapsing.cc, extra.cc (FACTORY_GCD_TEST, FACTORY_GCD_STAT,
    179           FACTORY_GCD_DEBOUT, FACTORY_GCD_TIMING): new #defines for gcd
    180           testing
    181         * clapsing.cc (singclap_divide_content, singclap_alglcm,
    182           singclap_algdividecontent): code added for factory testing.
    183           Wrapped by #defines `FACTORY_GCD_TEST', `FACTORY_GCD_STAT',
    184           `FACTORY_GCD_DEBOUT', and `FACTORY_GCD_TIMING'.
    185         * extra.cc (jjSYSTEM): code added for factory testing.  Wrapped
    186           by #defines `FACTORY_GCD_TEST' and `FACTORY_GCD_TIMING'.
     184        * clapsing.cc  (singclap_gcd): checks for `NULL' removed
     185
     186        * clapsing.cc, extra.cc (FACTORY_GCD_TEST, FACTORY_GCD_STAT,
     187           FACTORY_GCD_DEBOUT, FACTORY_GCD_TIMING): new #defines for gcd
     188          testing
     189        * clapsing.cc (singclap_divide_content, singclap_alglcm,
     190          singclap_algdividecontent): code added for factory testing.
     191            Wrapped by #defines `FACTORY_GCD_TEST', `FACTORY_GCD_STAT',
     192           `FACTORY_GCD_DEBOUT', and `FACTORY_GCD_TIMING'.
     193        * extra.cc (jjSYSTEM): code added for factory testing.  Wrapped
     194          by #defines `FACTORY_GCD_TEST' and `FACTORY_GCD_TIMING'.
    187195
    188196Fri Apr 17 09:53:53 MET DST 1998 hannes
     
    1922001998-04-21  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    193201
    194         * mmprivat.h: Got rid off mmheap.cc, "inlined" mmPutMemory
    195 
    196         * longalg.h:  Exponents in parameter (polys) are typedef'ed to
    197         EXPONENT_TYPE
     202        * mmprivat.h: Got rid off mmheap.cc, "inlined" mmPutMemory
     203
     204        * longalg.h:  Exponents in parameter (polys) are typedef'ed to
     205        EXPONENT_TYPE
    198206
    1992071998-04-20  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    200208
    201         * mmallocb.c: Merged with mmheap.c.
     209        * mmallocb.c: Merged with mmheap.c.
    202210
    2032111998-04-16  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    204212
    205         * mpsr_PutPoly.cc: Took out normalization of rational numbers
    206         before they are put -- might have side effects
    207 
    208         * extra.cc: added system("--option") which returns value of
    209         option; in debug mode: system("OptionValues") lists all option
    210         values
    211        
    212         * sing_mp.cc: use long option names for MP link options
    213         * MPtcp:launch: Uses find_exec as default application
    214        
    215         *  tesths.cc: New (handling of) command line options (long
    216         options, usage of getopt_long): Parse more than one argument
    217         script, etc ..
    218         *  added getopt.[c,h]for parsing of command lines
    219        
    220         * mod2.h.in, configure.in: Got rid off str* tests
     213        * mpsr_PutPoly.cc: Took out normalization of rational numbers
     214        before they are put -- might have side effects
     215
     216        * extra.cc: added system("--option") which returns value of
     217        option; in debug mode: system("OptionValues") lists all option
     218        values
     219
     220        * sing_mp.cc: use long option names for MP link options
     221        * MPtcp:launch: Uses find_exec as default application
     222
     223        *  tesths.cc: New (handling of) command line options (long
     224        options, usage of getopt_long): Parse more than one argument
     225        script, etc ..
     226        *  added getopt.[c,h]for parsing of command lines
     227
     228        * mod2.h.in, configure.in: Got rid off str* tests
    221229
    2222301998-04-07  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    223231
    224         * mpsr_Put.cc (mpsr_PutDump): dump does not dump LIB string any more
    225 
    226         * extra.cc (jjSYSTEM): added System("whoami") to return full
    227         executable pathname of running Singular
     232        * mpsr_Put.cc (mpsr_PutDump): dump does not dump LIB string any more
     233
     234        * extra.cc (jjSYSTEM): added System("whoami") to return full
     235        executable pathname of running Singular
    228236
    229237Tue Apr  7 10:27:50 MET DST 1998 hannes
     
    2322401998-04-06  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    233241
    234         * spSpolyLoop.h: neww calling interface for spGetSpolyLoop
    235 
    236         * kstd1.cc (kNF): moved strat->ak field initailization out of
    237         initBuchMora into single routines
    238 
    239         * febase.cc (feGetSearchPath): added feGetSearchPath; changed
    240         algorithm for searching files: $SINGULARPATH -> relative to
    241         executable -> burnt-in locations
    242         * added find_exec.c to get absolute pathname of executable
     242        * spSpolyLoop.h: neww calling interface for spGetSpolyLoop
     243
     244        * kstd1.cc (kNF): moved strat->ak field initailization out of
     245        initBuchMora into single routines
     246
     247        * febase.cc (feGetSearchPath): added feGetSearchPath; changed
     248        algorithm for searching files: $SINGULARPATH -> relative to
     249        executable -> burnt-in locations
     250        * added find_exec.c to get absolute pathname of executable
    243251
    244252Mon Apr  6 14:23:52 1998  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
    245253
    246         * claptmpl.cc: instantiation for `tabs()' added
     254        * claptmpl.cc: instantiation for `tabs()' added
    247255
    248256Sat Apr  4 00:52:58 MET DST 1998 Kai Krueger <krueger@mathematik.uni-kl.de>
    249         * iplib.cc libparse.cc libparse.h libparse.l misc.cc LIB/*.lib
    250           Changed help for libraries.
    251        
     257        * iplib.cc libparse.cc libparse.h libparse.l misc.cc LIB/*.lib
     258          Changed help for libraries.
     259
    252260Wed Apr  1 20:55:15 MET DST 1998 hannes
    253         * mpsr_Tok.cc,tok.h: minor fix, removed VERBOSE_CMD
    254         * iparith.cc ipconv.cc: added conversion list <-> resolution
    255         * lists.cc, syz1.cc : fixed bug in conversion (list<->res.):
    256           handling "empty" case
    257         * scanner.l: added option: %option always-interactive
     261        * mpsr_Tok.cc,tok.h: minor fix, removed VERBOSE_CMD
     262        * iparith.cc ipconv.cc: added conversion list <-> resolution
     263        * lists.cc, syz1.cc : fixed bug in conversion (list<->res.):
     264          handling "empty" case
     265        * scanner.l: added option: %option always-interactive
    258266
    259267Tue Mar 31 10:47:06 MET DST 1998 hannes
    260268        * feread.cc: fixed handling of empty history
    261         * clapsing.cc: fixed gcd(0,..) and gcd(..,0) -> pOne()
    262         * febase.h/febase.inc: renaming of scanner variables
    263           ( yy_blocklineno, yy_noeof)
    264         * febase.inc: increased speed in feReadLine
    265         * minor changes in scanner/grammar/iparith.cc (example)
     269        * clapsing.cc: fixed gcd(0,..) and gcd(..,0) -> pOne()
     270        * febase.h/febase.inc: renaming of scanner variables
     271          ( yy_blocklineno, yy_noeof)
     272        * febase.inc: increased speed in feReadLine
     273        * minor changes in scanner/grammar/iparith.cc (example)
    266274
    2672751998-03-27  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    268276
    269         * longalg.cc (naDBTest): fixed lines for number tests
    270 
    271         * added spSpolyLoop.inc to repository
    272 
    273         * algmap.cc (maAlgpolyMap): fixed bug which changed preimage
     277        * longalg.cc (naDBTest): fixed lines for number tests
     278
     279        * added spSpolyLoop.inc to repository
     280
     281        * algmap.cc (maAlgpolyMap): fixed bug which changed preimage
    274282
    2752831998-03-23  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    276284
    277         * taged version 1.1.7 -- unconditional fast version
    278 
    279         * polys-impl.cc, polys.cc: No COMP_FAST any more
    280 
    281         * Makefile.in: Introduced variable PERL, set by configure
    282 
    283         * kstdfac.cc (kStratCopy): kModW iv is not copied, but just the
    284         pointer is set
     285        * taged version 1.1.7 -- unconditional fast version
     286
     287        * polys-impl.cc, polys.cc: No COMP_FAST any more
     288
     289        * Makefile.in: Introduced variable PERL, set by configure
     290
     291        * kstdfac.cc (kStratCopy): kModW iv is not copied, but just the
     292        pointer is set
    285293
    2862941998-03-18  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    287295
    288         * Makefile.in: added Singularb target for bprof
    289 
    290         * polys-impl.h, polys-comp.h: Cleaned up COMP_FAST and related
    291         #defines
     296        * Makefile.in: added Singularb target for bprof
     297
     298        * polys-impl.h, polys-comp.h: Cleaned up COMP_FAST and related
     299        #defines
    292300
    2933011998-03-16  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    294302
    295         * polys-impl.h: no #define COMP_FAST
    296 
    297         * configure.in,Makefile.in: check for flex -P; increased version
    298         number to 1.1.7
     303        * polys-impl.h: no #define COMP_FAST
     304
     305        * configure.in,Makefile.in: check for flex -P; increased version
     306        number to 1.1.7
    299307
    300308Fri Mar 13 16:16:27 MET 1998 hannes
     
    303311
    304312Fri Mar  6 13:27:45 MET 1998 Kai Krueger <krueger@mathematik.uni-kl.de>
    305         * new: libparse.l,libparse.cc,utils.cc,ytils.h
    306           scanner for a quick check of singular-libraries.
    307         * Makefile.in,mod2.h.in,iplib.cc,structs.h,subexpr.h
    308           use a scanner when loading libraries.
    309         * grammar.y,ipassign.cc,subexpr.h
    310           procinfo: added position of end of proc-definition
    311                     added flag for 'static'-proc (proc that can only be used
    312                           in the library they are defined).
    313         * LIB: deform.lib,finvar.lib,hnoether.lib,normal.lib,presolve.lib
    314                primdec.lib,tex.lib
    315           made fixes requested by libparse (s.a. brackets, ....)
    316        
     313        * new: libparse.l,libparse.cc,utils.cc,ytils.h
     314          scanner for a quick check of singular-libraries.
     315        * Makefile.in,mod2.h.in,iplib.cc,structs.h,subexpr.h
     316          use a scanner when loading libraries.
     317        * grammar.y,ipassign.cc,subexpr.h
     318          procinfo: added position of end of proc-definition
     319                    added flag for 'static'-proc (proc that can only be used
     320                          in the library they are defined).
     321        * LIB: deform.lib,finvar.lib,hnoether.lib,normal.lib,presolve.lib
     322               primdec.lib,tex.lib
     323          made fixes requested by libparse (s.a. brackets, ....)
     324
    3173251998-03-04  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    318326
    319         * febase.h: added macro assume()
    320 
    321         * spSpolyLoop.cc: Automatic generation of SpolyLoops using
    322         spSpolyLoop.pl
    323 
    324         * kstd*.cc: New calling interface to get SpolyLoop
    325 
    326         * ring.h: Introduced rOrderType_t
     327        * febase.h: added macro assume()
     328
     329        * spSpolyLoop.cc: Automatic generation of SpolyLoops using
     330        spSpolyLoop.pl
     331
     332        * kstd*.cc: New calling interface to get SpolyLoop
     333
     334        * ring.h: Introduced rOrderType_t
    327335
    328336Mon Mar  2 16:18:25 MET 1998 hannes
     
    335343
    336344Tue Feb 17 18:43:11 MET 1998 hannes
    337         * added additional factorization check after redTail
    338           (kstdfac.cc)
     345        * added additional factorization check after redTail
     346          (kstdfac.cc)
    339347
    3403481998-02-17  Olaf Bachmann  <obachman@mathematik.uni-kl.de>
    341349
    342         * longalg.cc (napWrite): made it globally available to support
    343         FACTORY_DEBUG_OUT
    344 
    345         * clapsing.cc (singclap_algdividecontent): inserted
    346         FACTORY_DEBUG_OUT
    347        
     350        * longalg.cc (napWrite): made it globally available to support
     351        FACTORY_DEBUG_OUT
     352
     353        * clapsing.cc (singclap_algdividecontent): inserted
     354        FACTORY_DEBUG_OUT
     355
    348356Mon Feb 16 10:43:38 MET 1998 hannes
    349357   * added HAVE_TCL to ring.cc
  • Singular/LIB/standard.lib

    r0a53a9 rbcd557  
    1 // $Id: standard.lib,v 1.20 1998-06-18 15:45:12 siebert Exp $
     1// $Id: standard.lib,v 1.21 1998-06-18 17:32:13 Singular Exp $
    22//////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: standard.lib,v 1.20 1998-06-18 15:45:12 siebert Exp $";
     4version="$Id: standard.lib,v 1.21 1998-06-18 17:32:13 Singular Exp $";
    55info="
    66LIBRARY: standard.lib   PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP
     
    283283  int add_vars = 0;
    284284  string ri = "ring Phelp =";
    285  
     285
    286286  // more than one parameters are converted to ring variables
    287287  if (npars_P > 1)
     
    341341    // additional variables were introduced
    342342    // need another intermediate ring
    343     ri = "ring Phelp1 = (" + charstr(Phelp) 
     343    ri = "ring Phelp1 = (" + charstr(Phelp)
    344344      + "),(" + varstr(Phelp) + "),(" + ordstr_P;
    345345
     
    716716    }
    717717  }
    718  
     718
    719719  if (typeof(#[1]) == "resolution")
    720720  {
     
    725725    return minimizeres(#);
    726726  }
    727  
     727
    728728}
    729729
  • Singular/grammar.y

    r0a53a9 rbcd557  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: grammar.y,v 1.39 1998-06-13 12:44:37 krueger Exp $ */
     4/* $Id: grammar.y,v 1.40 1998-06-18 17:32:11 Singular Exp $ */
    55/*
    66* ABSTRACT: SINGULAR shell grammatik
     
    7474void yyerror(char * fmt)
    7575{
    76   int oldInError=inerror;
    77 
    78   inerror = 1;
     76
    7977  BOOLEAN old_errorreported=errorreported;
    8078  errorreported = TRUE;
     
    8482    currid = NULL;
    8583  }
    86   if(!oldInError)
     84  if(inerror==0)
    8785  {
    8886    Werror( "error occurred in %s line %d: `%s`"
     
    104102      Werror("last reserved name was `%s`",lastreserved);
    105103    }
     104    inerror=1;
    106105  }
    107   else
    108     inerror=oldInError;
    109106  if ((currentVoice!=NULL)
    110107  && (currentVoice->prev!=NULL)
    111   &&(myynest>0))
     108  && (myynest>0))
    112109  {
    113110    Werror("leaving %s",VoiceName());
    114     exitBuffer(BT_proc);
    115111  }
    116112}
     
    307303            #endif
    308304            prompt_char = '>';
    309             currid = NULL;
    310305            if(siCntrlc)
    311306            {
     
    319314            if (inerror==2) PrintLn();
    320315            errorreported = inerror = cmdtok = 0;
    321             lastreserved=NULL;
    322             expected_parms=FALSE;
    323             noringvars = FALSE;
    324             siCntrlc = FALSE;
     316            lastreserved = currid = NULL;
     317            expected_parms = noringvars = siCntrlc = FALSE;
    325318          }
    326319        ;
     
    345338        | error ';'
    346339          {
    347             feBufferTypes t=currentVoice->Typ();
    348340            #ifdef SIQ
    349341            siq=0;
    350342            #endif
    351343            currentVoice->ifsw=0;
    352             if (inerror&&($1.i<UMINUS) && ($1.i>' '))
    353             {
    354               // 1: yyerror called
    355               // 2: scanner put actual string
    356               // 3: error rule put token+\n
    357               inerror=3;
    358               Print(" error at token `%s`\n",iiTwoOps($1.i));
     344            if (inerror)
     345            {
     346              if ((inerror!=3) && ($1.i<UMINUS) && ($1.i>' '))
     347              {
     348                // 1: yyerror called
     349                // 2: scanner put actual string
     350                // 3: error rule put token+\n
     351                inerror=3;
     352                Print(" error at token `%s`\n",iiTwoOps($1.i));
     353              }         
    359354            }
    360355            if (!errorreported) WerrorS("...parse error");
     
    363358            if (myynest>0)
    364359            {
     360              feBufferTypes t=currentVoice->Typ();
    365361              //PrintS("leaving yyparse\n");
     362              exitBuffer(BT_proc);
    366363              if (t==BT_example)
    367               {
    368                 errorreported = inerror = cmdtok = 0;
    369                 lastreserved=NULL;
    370                 expected_parms=FALSE;
    371                 inerror = 0;
    372                 yyerrok;
    373364                YYACCEPT;
    374               }
    375365              else
    376366                YYABORT;
     
    380370              exitVoice();
    381371            }
    382             //errorreported = FALSE;
    383             //lastreserved=NULL;
    384372          }
    385373        ;
     
    13441332            $1.Print(&sLastPrinted);
    13451333            $1.CleanUp();
     1334            if (errorreported) YYERROR;
    13461335          }
    13471336        ;
  • Singular/iplib.cc

    r0a53a9 rbcd557  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iplib.cc,v 1.30 1998-06-13 12:44:42 krueger Exp $ */
     4/* $Id: iplib.cc,v 1.31 1998-06-18 17:32:12 Singular Exp $ */
    55/*
    66* ABSTRACT: interpreter: LIB and help
     
    130130  char buf[256], *s = NULL, *p;
    131131  long procbuflen;
    132  
     132
    133133  FILE * fp = feFopen( pi->libname, "rb", NULL, TRUE );
    134134  if (fp==NULL)
     
    320320  idhdl ns = namespaceroot->get(plib,0, TRUE);
    321321  FreeL(plib);
    322   if(ns != NULL) {
     322  if(ns != NULL)
     323  {
    323324    namespaceroot->push(IDPACKAGE(ns), IDID(ns));
    324325    //printf("iiMake_proc: namespace found.\n");
    325   } else {
     326  }
     327  else
     328  {
    326329    namespaceroot->push(namespaceroot->root->pack, "toplevel");
    327330    //printf("iiMake_proc: staying in TOP-LEVEL\n");
    328331  }
    329332#else /* HAVE_NAMESPACES */
    330   if(pi->is_static && myynest==0) {
     333  if(pi->is_static && myynest==0)
     334  {
    331335    Werror("'%s::%s()' is a local procedure and cannot be accessed by an user.",
    332336           pi->libname, pi->procname);
     
    346350#endif
    347351#if 1
    348   if(pi->language == LANG_SINGULAR) err=iiPStart(pn,sl);
    349   if(pi->language == LANG_C)
     352  if(pi->language == LANG_SINGULAR)
     353  {
     354    err=iiPStart(pn,sl);
     355  }
     356  else if(pi->language == LANG_C)
    350357  {
    351358    leftv res = (leftv)Alloc0(sizeof(sleftv));
     
    408415  if (iiCurrArgs!=NULL)
    409416  {
    410     Warn("too many arguments for %s",IDID(pn));
     417    if (!err) Warn("too many arguments for %s",IDID(pn));
    411418    iiCurrArgs->CleanUp();
    412419    Free((ADDRESS)iiCurrArgs,sizeof(sleftv));
     
    416423  namespaceroot->pop();
    417424#endif /* HAVE_NAMESPACES */
    418   if (err) return NULL;
     425  if (err)
     426    return NULL;
    419427  return &iiRETURNEXPR[myynest+1];
    420428}
Note: See TracChangeset for help on using the changeset viewer.