node/lib/metasm/metasm/parse.rb
# parse an expression in a string
# updates the string to point after the parsed expression
parse an expression in a string
updates the string to point after the parsed expression
parse an expression in a string updates the string to point after the parsed expression
def parse_string!(str, &b)
			pp = Preprocessor.new(str)
			e = parse(pp, &b)
			len = pp.pos
			pp.queue.each { |t| len -= t.raw.length }
			str[0, len] = ''
			e
		end
def parse_string! ( str , & b ) pp = Preprocessor . new ( str ) e = parse ( pp , & b ) len = pp . pos pp . queue . each { | t | len -= t . raw . length } str [ 0 , len ] = '' e end
parse an expression in a string
updates the string to point after the parsed expression
parse an expression in a string updates the string to point after the parsed expression
# update arg
str
b