Changeset a1b6b0f in git


Ignore:
Timestamp:
Dec 13, 1997, 1:51:41 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
918ec8a016936f3512445c139a607d8cbb51bdbb
Parents:
c3bd04f5c1a0d3383ad0db9278ad745c8d0daf74
Message:
	* readcf.y (yylex): parser reads generator from GF(q) correctly


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

Legend:

Unmodified
Added
Removed
  • factory/readcf.y

    rc3bd04 ra1b6b0f  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: readcf.y,v 1.5 1997-12-08 18:24:42 schmidt Exp $ */
     2/* $Id: readcf.y,v 1.6 1997-12-13 12:51:41 schmidt Exp $ */
    33
    44%{
     
    1818
    1919#include "cf_defs.h"
     20#include "gfops.h"
    2021#include "canonicalform.h"
    2122#include "parseutil.h"
     
    9899    }
    99100    else if ( isalpha( c ) ) {
    100         if ( c == getDefaultVarName() ) {
     101        // look for generators of GF(q)
     102        if ( getCharacteristic() > 0 && getGFDegree() > 1 && c == gf_name ) {
     103#ifdef BISONPP
     104            this->yylval = getGFGenerator();
     105#else
     106            yylval = getGFGenerator();
     107#endif
     108        }
     109        else if ( c == getDefaultVarName() ) {
    101110            int cc;
    102111            cc = defaultin->get();
Note: See TracChangeset for help on using the changeset viewer.