Changeset ccebcd in git for modules


Ignore:
Timestamp:
Nov 9, 2000, 10:58:14 PM (23 years ago)
Author:
Kai Krüger <krueger@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
12c3e5c3938a92573220ed96445624329128d87f
Parents:
a20f2b3bfa042e1e5f6cc5b0c09533db959bf2a6
Message:
Added write_singular_end()


git-svn-id: file:///usr/local/Singular/svn/trunk@4719 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
modules/modgen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • modules/modgen/grammar.y

    ra20f2b rccebcd  
    11/*
    2  * $Id: grammar.y,v 1.14 2000-05-12 12:24:43 krueger Exp $
     2 * $Id: grammar.y,v 1.15 2000-11-09 21:58:13 krueger Exp $
    33 */
    44
     
    328328        {
    329329          if(debug>2)printf("SG-PROCDEF:\n");
     330          write_singular_end(&module_def, yylineno);
    330331        }
    331332        | procdecl proccode procdeclexample
     
    333334          if(debug>2)printf("SG-PROCDEF mit example:\n");
    334335          fflush(module_def.fmtfp);
     336          write_singular_end(&module_def, yylineno);
    335337        }
    336338;
     
    609611        };
    610612
     613
    611614identifier: NAME
    612615        {
  • modules/modgen/modgen.h

    ra20f2b rccebcd  
    11/*
    2  *  $Id: modgen.h,v 1.12 2000-05-01 19:14:48 krueger Exp $
     2 *  $Id: modgen.h,v 1.13 2000-11-09 21:58:14 krueger Exp $
    33 *
    44 */
     
    193193extern void write_singular_parameter(moddefv module,int lineno,
    194194                                     char *typname, char *varname);
     195extern void write_singular_end(moddefv module,int lineno);
     196
    195197extern void write_codeline(moddefv module, procdefv proc,
    196198                           char *line, int lineno = -1);
  • modules/modgen/proc.cc

    ra20f2b rccebcd  
    11/*
    2  * $Id: proc.cc,v 1.14 2000-05-12 12:24:44 krueger Exp $
     2 * $Id: proc.cc,v 1.15 2000-11-09 21:58:14 krueger Exp $
    33 */
    44
     
    602602
    603603/*========================================================================*/
     604void write_singular_end(
     605  moddefv module,
     606  int lineno
     607  )
     608{
     609  fprintf(module->modfp, "#endif\n");
     610}
     611
     612/*========================================================================*/
    604613void write_codeline(
    605614  moddefv module,
Note: See TracChangeset for help on using the changeset viewer.