> I finally succeded to make the first compilation of my code! The problem
> was not 'unsigned' as it was stated in the error message, but '_data" -
> as I removed this keyword. ST7 is VonNeumann architecture thus there is
> (or, at least it seems to me) no fundamental difference between _code
> and _data memory - everything is mixed up in one addressing space. Or is
> there any special reason for VonNeumann to have both _code and _data
> memory modificators ?
No, I don't think so. I guess, you should have neither (or both #defined to
nothing at all).
> Strange is that Lex/Bison generated this message on the wrong place...
Its not the wrong place: _data is just a valid identifier, which could
have been used to declare/define a function such as
/* my stuff */
The parser correctly recognizes that there is no possible valid sentence
(according to the grammar) with "unsigned" following an identifier.