node/lib/metasm/metasm/main.rb
def tune_cparser(cp)
		case @size
		when 64; cp.lp64
		when 32; cp.ilp32
		when 16; cp.ilp16
		end
		cp.endianness = @endianness
		cp.lexer.define_weak('_STDC', 1)
		# TODO gcc -dM -E - </dev/null
		tune_prepro(cp.lexer)
	end
# sets up the C parser : standard macro definitions, type model (size of int etc)
sets up the C parser : standard macro definitions, type model (size of int etc)
sets up the C parser : standard macro definitions type model ( size of int etc )
def tune_cparser(cp)
		case @size
		when 64; cp.lp64
		when 32; cp.ilp32
		when 16; cp.ilp16
		end
		cp.endianness = @endianness
		cp.lexer.define_weak('_STDC', 1)
		tune_prepro(cp.lexer)
	end
def tune_cparser ( cp ) case @size when 64 ; cp . lp64 when 32 ; cp . ilp32 when 16 ; cp . ilp16 end cp . endianness = @endianness cp . lexer . define_weak ( '_STDC' , 1 ) tune_prepro ( cp . lexer ) end
sets up the C parser : standard macro definitions, type model (size of int etc)
sets up the C parser : standard macro definitions type model ( size of int etc )
# TODO gcc -dM -E - </dev/null
cp