Changeset 172d852 in git for Singular/grammar.cc


Ignore:
Timestamp:
Jan 24, 2019, 2:32:29 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
08394f319ba420091cccad7e025c3f7cac04c373
Parents:
5abb79fd2458b47b21d297f2c8b26f285ac9546f756676ef1fcf4cff300fb1607a6d21293b253245
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2019-01-24 14:32:29+01:00
git-committer:
GitHub <noreply@github.com>2019-01-24 14:32:29+01:00
Message:
Merge pull request #906 from rbehrends/prelim-thread-rewrite

Singular changes for multi-threading support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/grammar.cc

    r5abb79f r172d852  
    166166#define YYMAXDEPTH MAX_INT_VAL
    167167
    168 extern int   yylineno;
    169 extern FILE* yyin;
     168EXTERN_VAR int   yylineno;
     169EXTERN_VAR FILE* yyin;
    170170
    171171const  char *  currid;
    172 BOOLEAN    yyInRingConstruction=FALSE;
    173 BOOLEAN    expected_parms;
    174 int        cmdtok;
    175 int        inerror = 0;
     172VAR BOOLEAN    yyInRingConstruction=FALSE;
     173VAR BOOLEAN    expected_parms;
     174VAR int        cmdtok;
     175VAR int        inerror = 0;
    176176
    177177#define TESTSETINT(a,i)                                \
     
    18031803/* Nonzero means print parse trace.  It is left uninitialized so that
    18041804   multiple parsers can coexist.  */
    1805 int yydebug;
     1805VAR int yydebug;
    18061806#else /* !YYDEBUG */
    18071807# define YYDPRINTF(Args)
Note: See TracChangeset for help on using the changeset viewer.