comparison lwasm/lwasm.c @ 391:c1d83336e1d1

Fixed problem with structure member registration and fixed detection of operator{} type symbols in expression evaluation
author lost@l-w.ca
date Wed, 21 Jul 2010 21:26:43 -0600
parents a741d2e4869f
children a2f52e97b454
comparison
equal deleted inserted replaced
390:027d7fbcdcfc 391:c1d83336e1d1
413 havedol = 1; 413 havedol = 1;
414 l++; 414 l++;
415 } 415 }
416 if (l == 0) 416 if (l == 0)
417 return NULL; 417 return NULL;
418
419 if ((*p)[l] == '{')
420 {
421 while ((*p)[l] && (*p)[l] != '}')
422 l++;
423 l++;
424 }
418 425
419 if (havedol || **p < '0' || **p > '9') 426 if (havedol || **p < '0' || **p > '9')
420 { 427 {
421 // have a symbol here 428 // have a symbol here
422 char *sym; 429 char *sym;