about summary refs log tree commit diff stats
path: root/cpp/012transform
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/012transform')
-rw-r--r--cpp/012transform1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/012transform b/cpp/012transform
index 8cd29c94..7a591a87 100644
--- a/cpp/012transform
+++ b/cpp/012transform
@@ -46,6 +46,7 @@ void parse_int_reagents() {
 }
 
 void populate_value(reagent& r) {
+  if (r.name.empty()) return;
   char* end = NULL;
   int result = strtol(r.name.c_str(), &end, /*any base*/0);
   if (*end != '\0') return;