parse: factor out mref parsing
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 27 Sep 2013 00:28:39 +0000 (17:28 -0700)
committerJin Kyu Song <jin.kyu.song@intel.com>
Wed, 20 Nov 2013 19:29:41 +0000 (11:29 -0800)
commit9f4706ff457ebd20f8f06e57140203aa58238196
tree8978d0ce032505596bfc3b9b9ba54241c23631e8
parentdf0d1ba107079779e646a933fe8a29574d53f2d0
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