Commit 6cdac49
committed
S_parse_ident: Add flag to check for legality and not croak
When this flag is set, when an illegal identifier is found, instead of
croaking the function returns NULL. This will allow future commits to
use this function when all that is desired is to determine if the
identifier is legal or not.1 parent 628b1c0 commit 6cdac49
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
10339 | 10340 | | |
10340 | 10341 | | |
10341 | 10342 | | |
10342 | | - | |
| 10343 | + | |
| 10344 | + | |
| 10345 | + | |
| 10346 | + | |
| 10347 | + | |
| 10348 | + | |
| 10349 | + | |
10343 | 10350 | | |
10344 | 10351 | | |
10345 | 10352 | | |
| |||
10408 | 10415 | | |
10409 | 10416 | | |
10410 | 10417 | | |
10411 | | - | |
| 10418 | + | |
| 10419 | + | |
| 10420 | + | |
| 10421 | + | |
10412 | 10422 | | |
| 10423 | + | |
10413 | 10424 | | |
10414 | 10425 | | |
10415 | 10426 | | |
| |||
10458 | 10469 | | |
10459 | 10470 | | |
10460 | 10471 | | |
| 10472 | + | |
| 10473 | + | |
| 10474 | + | |
| 10475 | + | |
10461 | 10476 | | |
10462 | 10477 | | |
10463 | 10478 | | |
| |||
0 commit comments