[splint-discuss] Parsing error

Ludolf Holzheid lholzheid at bihl-wiedemann.de
Tue Apr 8 05:42:05 PDT 2008


On Tue, 2008-04-08 13:36:19 +0200, Putten Bob van der wrote:
> I am new to Splint.
> 
> I wrote the following code:
> unsigned int   U0BRG      =       0x3A1;  
> 
>  
> 
> U0BRG      =       0x123;
> 
> Will result in a parsing error

Bob,

I can't reproduce this.

However, 'U0BRG' looks to me as a microcontroller register ("UART #0
baud rate register" or some such). Are you sure this is not a define
which expands to something not conforming to the C standard?

Ludolf

-- 

---------------------------------------------------------------
Ludolf Holzheid             Tel:    +49 621 339960
Bihl+Wiedemann GmbH         Fax:    +49 621 3392239
Floßwörthstraße 41          e-mail: lholzheid at bihl-wiedemann.de
D-68199 Mannheim, Germany
---------------------------------------------------------------



More information about the splint-discuss mailing list