Browse Source

numparam, drop some typedefs

pre-master-46
rlar 10 years ago
parent
commit
7aa3664157
  1. 3
      src/frontend/numparam/numparam.h
  2. 2
      src/frontend/numparam/xpressn.c

3
src/frontend/numparam/numparam.h

@ -9,10 +9,7 @@
/***** numparam internals ********/
typedef enum {Nodekey = '#'} _nNodekey; /* Introduces node symbol */
typedef enum {Intro = '&'} _nIntro; /* Introduces preprocessor tokens */
typedef enum {Comment = '*'} _nComment; /* Spice Comment lines */
typedef enum {Psp = '{'} _nPsp; /* Ps expression */
/* -----------------------------------------------------------------

2
src/frontend/numparam/xpressn.c

@ -1208,7 +1208,7 @@ nupa_substitute(dico_t *dico, char *s, char *r, bool err)
i++;
c = s[i - 1];
if (c == Psp) {
if (c == '{') {
/* try ps expression syntax */
k = i;
nnest = 1;

Loading…
Cancel
Save