Mercurial > hg-old > index.cgi
comparison lwasm/pass1.c @ 411:cac204676434
Allow symbols to start with digits if they contain $, ?, or @; numbered locals
author | lost@l-w.ca |
---|---|
date | Mon, 09 Aug 2010 00:10:24 -0600 |
parents | acaafc70044b |
children | 4b137a8cf32a |
comparison
equal
deleted
inserted
replaced
410:acaafc70044b | 411:cac204676434 |
---|---|
148 { | 148 { |
149 // skip line number | 149 // skip line number |
150 while (*p1 && isdigit(*p1)) | 150 while (*p1 && isdigit(*p1)) |
151 p1++; | 151 p1++; |
152 if (!*p1 && !isspace(*p1)) | 152 if (!*p1 && !isspace(*p1)) |
153 p1 = line; | |
154 else if (*p1 && !isspace(*p1)) | |
153 p1 = line; | 155 p1 = line; |
154 else if (*p1 && isspace(*p1)) | 156 else if (*p1 && isspace(*p1)) |
155 p1++; | 157 p1++; |
156 } | 158 } |
157 | 159 |