Mercurial > hg > index.cgi
comparison lwasm/pragma.c @ 85:8fa52c3f2970
Make *pragma work correctly
author | lost@l-w.ca |
---|---|
date | Wed, 25 May 2011 21:59:58 -0600 |
parents | 428068681cbf |
children | 9960e05cbe3a |
comparison
equal
deleted
inserted
replaced
84:16a72d9b6eb6 | 85:8fa52c3f2970 |
---|---|
121 } | 121 } |
122 | 122 |
123 PARSEFUNC(pseudo_parse_starpragma) | 123 PARSEFUNC(pseudo_parse_starpragma) |
124 { | 124 { |
125 char *ps, *t; | 125 char *ps, *t; |
126 | 126 |
127 for (t = *p; *t && !isspace(*t); t++) | 127 for (t = *p; *t && !isspace(*t); t++) |
128 /* do nothing */ ; | 128 /* do nothing */ ; |
129 | 129 |
130 ps = lw_strndup(*p, t - *p); | 130 ps = lw_strndup(*p, t - *p); |
131 *p = t; | 131 *p = t; |