numparam/xpressn.c, don't mess the case of quoted strings

and drop `dico_t.option' which is nowhere set
This commit is contained in:
rlar 2016-04-29 21:18:13 +02:00
parent 23f6d51c67
commit fdfaf0c84a
2 changed files with 0 additions and 5 deletions

View File

@ -48,7 +48,6 @@ typedef struct entry_s {
typedef struct { /* the input scanner data structure */
SPICE_DSTRING srcfile; /* last piece of source file name */
SPICE_DSTRING option; /* one-character translator options */
SPICE_DSTRING lookup_buf; /* useful temp buffer for quick symbol lookup */
int srcline;
int oldline;

View File

@ -245,7 +245,6 @@ initdico(dico_t *dico)
int asize = 10; /* default allocation depth of the synbol stack */
COMPATMODE_T compat_mode;
spice_dstring_init(&(dico->option));
spice_dstring_init(&(dico->srcfile));
dico->srcline = -1;
@ -1116,9 +1115,6 @@ evaluate(dico_t *dico, SPICE_DSTRINGPTR qstr_p, char *t, unsigned char mode)
j++;
char c = /* ibf->bf[j]; */ entry->sbbase[j];
if (cpos('3', spice_dstring_value(&dico->option)) <= 0)
c = upcase(c); /* spice-2 */
if ((c == '\"') || (c < ' '))
break;