Commit 5a1892b
committed
Fix minor stylistic/"analysis" nits
- Explicitly ignore strcpy_insitu return value in node_copy_string; if it
fails, we must be out of memory and we leave the relevant destination
fields empty, similarly to other OOMs during copying
- Use the same code for eval_number of string/node set; these are slightly
different semantically, as eval_string is an implicit conversion, but the
code ends up the same.
Closes #674, #675.1 parent c4cca93 commit 5a1892b
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4473 | 4473 | | |
4474 | 4474 | | |
4475 | 4475 | | |
4476 | | - | |
| 4476 | + | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
4477 | 4480 | | |
4478 | 4481 | | |
4479 | 4482 | | |
| |||
11117 | 11120 | | |
11118 | 11121 | | |
11119 | 11122 | | |
11120 | | - | |
11121 | | - | |
11122 | | - | |
11123 | | - | |
11124 | | - | |
11125 | | - | |
11126 | | - | |
| 11123 | + | |
11127 | 11124 | | |
11128 | 11125 | | |
11129 | 11126 | | |
| |||
0 commit comments