[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mes] mescc arm progress
From: |
Jan Nieuwenhuizen |
Subject: |
Re: [bug-mes] mescc arm progress |
Date: |
Fri, 12 Apr 2019 23:06:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Jan Nieuwenhuizen writes:
>> Should we rename it to wip-arm again?
>
> Yes, please do!
Meanwhile you made very nice progress!
I looked into the
7e8dfb474 Work around nyacc #define parsing/evaluation bug.
problem and found that this
--8<---------------cut here---------------start------------->8---
#define HAVE_FOO 0x1
int
main ()
{
#if HAVE_FOO
return 0;
#endif
return 1;
}
--8<---------------cut here---------------end--------------->8---
does not work, however using `#define HAVE_FOO 1' works.
I bisected Nyacc and found the problem to be Mes' string->number:
(string->number "#x1") => #f
I have added a fix for this and reverted the workaround.
janneke
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com