[DLLCC] defines parser problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[DLLCC] defines parser problem

Boris Popov, DeepCove Labs (SNN)
The line in a C header file such as,

#define     TAG_PACKAGING_JPEG          0X000B0000L

results in a Smalltalk side define as,

TAG_PACKAGING_JPEG
        <C: #define TAG_PACKAGING_JPEG 0 X000B0000L>

which of course returns nil if you try to get at it via,

Interface new TAG_PACKAGING_JPEG

Is this a known issue and does anybody have a fix for it? ;)

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [DLLCC] defines parser problem

Boris Popov, DeepCove Labs (SNN)
Here's a clue if anyone's interested,

CScanner new tokensFrom: '0X0001'.
        OrderedCollection (#(#number 0) #(#word 'X0001'))

CScanner new tokensFrom: '0x0001'.
        OrderedCollection (#(#number 001))

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.
 

> -----Original Message-----
> From: Boris Popov [mailto:[hidden email]]
> Sent: Tuesday, February 07, 2006 1:26 PM
> To: [hidden email]
> Subject: [DLLCC] defines parser problem
>
> The line in a C header file such as,
>
> #define     TAG_PACKAGING_JPEG          0X000B0000L
>
> results in a Smalltalk side define as,
>
> TAG_PACKAGING_JPEG
> <C: #define TAG_PACKAGING_JPEG 0 X000B0000L>
>
> which of course returns nil if you try to get at it via,
>
> Interface new TAG_PACKAGING_JPEG
>
> Is this a known issue and does anybody have a fix for it? ;)
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the
> message header. Unless otherwise indicated, it contains
> information that is private and confidential. If you have
> received it in error, please notify the sender and delete the
> entire message including any attachments.
>
> Thank you.
>

smime.p7s (4K) Download Attachment