about summary refs log tree commit diff stats
path: root/011load.cc
diff options
context:
space:
mode:
Diffstat (limited to '011load.cc')
-rw-r--r--011load.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/011load.cc b/011load.cc
index d3f938ca..451521f4 100644
--- a/011load.cc
+++ b/011load.cc
@@ -177,7 +177,7 @@ string next_word(istream& in) {
 }
 
 bool is_label_word(const string& word) {
-  assert(!word.empty());
+  if (word.empty()) return false;  // error raised elsewhere
   return !isalnum(word.at(0)) && string("$_*@&,=-[]()").find(word.at(0)) == string::npos;
 }