parse: factor out mref parsing
commite7e6c6c459c70901bdaa241653590442bf205251
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 27 Sep 2013 00:28:39 +0000 (26 17:28 -0700)
committerJin Kyu Song <jin.kyu.song@intel.com>
Wed, 16 Oct 2013 03:56:56 +0000 (15 20:56 -0700)
tree639e24b70d43e146f8d9109bd359a3eef64e13d1
parent0851609cfde90b9d966b620ca430b8f37dbfef57
parse: factor out mref parsing

Factor out the parsing of an mref from parse_line().  In order to
support the [base,index] syntax we need to be able to parse an mref in
two steps.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
parser.c