math routine implementation with .s files

John Rose john.r.rose at oracle.com
Mon Jun 4 20:59:39 UTC 2018


On Jun 4, 2018, at 1:48 PM, John Rose <john.r.rose at oracle.com> wrote:
> 
> # +++ adjustments for conflicting identifiers
> #define B1 FILE_SCOPE(B1)
> #define L2 FILE_SCOPE(L2)
> #define FILE_SCOPE(x) x##_##FILE_SCOPE_NAME
> # +++ scope file1.s

My cpp-ology is slipping.  That should be:

#define B1 FILE_SCOPE(B1)
#define L2 FILE_SCOPE(L2)
#define FILE_SCOPE(x) FILE_SCOPE1(x,FILE_SCOPE_NAME)
#define FILE_SCOPE1(x,n) FILE_SCOPE2(x,n)
#define FILE_SCOPE2(x,n) x##_##n



More information about the panama-dev mailing list