[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lex function for values

From: Ben Pfaff
Subject: Re: lex function for values
Date: Fri, 22 May 2009 08:03:36 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

John Darrington <address@hidden> writes:

> It struck me that the value-rep branch would lend itself to a function
> of the form:
> bool lex_match_value (struct lexer* , union value *);
> which would be useful for matching either a string or a number.

(A width would also need to be passed in.)

Is this useful very often?
"Unix... is not so much a product
 as it is a painstakingly compiled oral history
 of the hacker subculture."
--Neal Stephenson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]