expr_rec process_literal(void)
{
	expr_rec t;

	/*
	 * Convert literal to a numeric representation
	 * and build semantic record.
	 */
	t.kind = LITERALEXPR;
	(void) sscanf(token_buffer, "%d", &t.val);
	return t;
}

Author: Ming-I Hsieh (Powered by FreeBSD, c2html, gimp, vim, gmake)