diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-11 10:04:16 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-11 10:04:16 -0700 |
commit | 5798a11bf083ef3a0a2bbf2f55ddb6dfa1ee6b17 (patch) | |
tree | 9fe1dc9e9dc904e93ab6984acb6ed3d6ca55c407 /050scenario.cc | |
parent | 455f03383651cb99776f5a4149abb7716abc63e8 (diff) | |
download | mu-5798a11bf083ef3a0a2bbf2f55ddb6dfa1ee6b17.tar.gz |
1343
Diffstat (limited to '050scenario.cc')
-rw-r--r-- | 050scenario.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/050scenario.cc b/050scenario.cc index af97b34a..6344c9a1 100644 --- a/050scenario.cc +++ b/050scenario.cc @@ -200,7 +200,7 @@ void check_memory(const string& s) { check_type(lhs, in); continue; } - int address = to_int(lhs); + int address = to_number(lhs); skip_whitespace_and_comments(in); string _assign; in >> _assign; assert(_assign == "<-"); skip_whitespace_and_comments(in); @@ -223,7 +223,7 @@ void check_memory(const string& s) { void check_type(const string& lhs, istream& in) { reagent x(lhs); if (x.properties.at(0).second.at(0) == "string") { - x.set_value(to_int(x.name)); + x.set_value(to_number(x.name)); skip_whitespace_and_comments(in); string _assign = next_word(in); assert(_assign == "<-"); |