diff --git a/src/A3.cpp b/src/A3.cpp index 1e729a75d..6a886ca46 100644 --- a/src/A3.cpp +++ b/src/A3.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -161,14 +162,14 @@ void A3::capture (const std::string& arg) } //////////////////////////////////////////////////////////////////////////////// -// Prepend a Arg with a blank category. +// Prepend an Arg with a blank category. void A3::capture_first (const std::string& arg) { // Break the new argument into parts that comprise a series. std::vector series; std::vector separated; - splitq (separated, arg, ' '); + Lexer::split (separated, arg); std::vector ::iterator sep; for (sep = separated.begin (); sep != separated.end (); ++sep) series.push_back (Arg (*sep)); @@ -344,7 +345,7 @@ void A3::resolve_aliases () + "'"); std::vector words; - splitq (words, context.aliases[arg->_raw], ' '); + Lexer::split (words, context.aliases[arg->_raw]); std::vector ::iterator word; for (word = words.begin (); word != words.end (); ++word)