libguile/eval.c: parse failed on input "x37" [WAS: [ANN] nyacc 0.80.3 released]

2017-07-24 Thread Jan Nieuwenhuizen
Matt Wette writes: The below condensed excerpt from Guile's eval.c gives (unknown):1: parse failed at state 299, on input "x37" scaffold/tests/t.c:55: C99 parse error This looks pretty tricky and I'm not really working on this atm, just thought to let you know. Greetings, janneke type

[WAS: [ANN] nyacc 0.80.3 released]

2017-07-24 Thread Jan Nieuwenhuizen
Matt Wette writes: > NYACC V0.80.3 is released. This will expand the both THEN clauses, having main return 0; where in the second case, the ELSE clause should be expanded, having main return 2. This #define / #undef trick is used by tinycc, I just found it and now worked around it by setting a s

Unexpected extra parens on struct-ref [WAS: [ANN] nyacc 0.80.3 released]

2017-07-24 Thread Jan Nieuwenhuizen
Matt Wette writes: > NYACC V0.80.3 is released. This works as expected: typedef struct foo { int bar; } baz; int main () { struct foo f; return 0; } => (trans-unit (decl (decl-spec-list (stor-spec (typedef)) (typ

0ULL [WAS: [ANN] nyacc 0.80.3 released]

2017-07-24 Thread Jan Nieuwenhuizen
Matt Wette writes: Hi Matt, > NYACC V0.80.3 is released. In the process of compiling tinycc and Guile's eval.c I found some minor bugs, here's the first. Greetings, janneke int main () { return 0ULL; } scaffold/tests/t.c:26: parse failed at state 259, on input "L" scaffold/tests/t.c:26: C9

[ANN] nyacc 0.80.3 released

2017-06-18 Thread Matt Wette
NYACC V0.80.3 is released. This release has work on the ffi-helper and numerous bug fixes: 1) use 0 for undefined identifiers in CPP conditional expressions 2) fixed lex routine make-ident-like-p to check for zero-length strings 3) fixed bug in c99/util2.smc that added comments in struct cleanup 4