diff options
Diffstat (limited to '011load.cc')
-rw-r--r-- | 011load.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/011load.cc b/011load.cc index c129ba4b..5dd64335 100644 --- a/011load.cc +++ b/011load.cc @@ -178,7 +178,7 @@ string next_word(istream& in) { bool is_label_word(const string& word) { assert(!word.empty()); - return !isalnum(word.at(0)) && word.at(0) != '$'; + return !isalnum(word.at(0)) && string("$_-").find(word.at(0)) == string::npos; } bool ends_with(const string& s, const char c) { |