Re: Numeric constants as strings
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Feb 19, 2007, 10:01 UTC
- Message-ID
- <vpq1wkm31q4.fsf@olympe.imag.fr>
- In-Reply-To
- <20070219094955.GE30030@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> I did not even realize that was legal C... Now if the 40 was in > quotes (e.g. "40") then the concatenate rule would apply and we > would get a nice argument to printf.
I suppose the solution is to use #HASH_WIDTH_ASCII to tell the preprocessor to put the quotes around HASH_WIDTH_ASCII.
-- Matthieu