From 9cc16d04958753a62474d13bd823f13a33a6a0a3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 18 Mar 2015 22:09:31 -0700 Subject: 956 Cleaner way to signal that a reagent's value has been computed. --- cpp/012transform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/012transform') diff --git a/cpp/012transform b/cpp/012transform index 7a591a87..21bcf60f 100644 --- a/cpp/012transform +++ b/cpp/012transform @@ -46,7 +46,7 @@ void parse_int_reagents() { } void populate_value(reagent& r) { - if (r.name.empty()) return; + if (r.initialized) return; char* end = NULL; int result = strtol(r.name.c_str(), &end, /*any base*/0); if (*end != '\0') return; -- cgit 1.4.1-2-gfad0 ame='h' onchange='this.form.submit();'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/subx/051test.subx
blob: 6f8cda7a326d42cc6ef32a1aa5166387464b4c13 (plain) (tree)
1
2
3
4
5
6
7
8
9