comparison lwasm/pseudo.c @ 62:5b10ff307463

Fixed problem with filename handling in includebin
author lost@l-w.ca
date Thu, 07 Apr 2011 18:38:09 -0600
parents 62372522ce9c
children 74b82202d355
comparison
equal deleted inserted replaced
61:ccaecdff3fc2 62:5b10ff307463
992 { 992 {
993 for (p2 = *p; *p2 && !isspace(*p2); p2++) 993 for (p2 = *p; *p2 && !isspace(*p2); p2++)
994 /* do nothing */ ; 994 /* do nothing */ ;
995 } 995 }
996 fn = lw_strndup(*p, p2 - *p); 996 fn = lw_strndup(*p, p2 - *p);
997 997 *p = p2;
998 if (delim && **p) 998 if (delim && **p)
999 (*p)++; 999 (*p)++;
1000 1000
1001 fp = input_open_standalone(as, fn); 1001 fp = input_open_standalone(as, fn);
1002 if (!fp) 1002 if (!fp)