Changeset 1228 for proto/parabix2


Ignore:
Timestamp:
Jul 27, 2011, 4:05:14 PM (8 years ago)
Author:
vla24
Message:

Integrated symbol table with xmlwf. There are various implementations for the symbol table, please read /proto/SymbolTable/README_SymbolTable for more information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/src/multiliteral.h

    r424 r1228  
    2323#include "charsets/ASCII_EBCDIC.h"
    2424
    25 #if BYTE_ORDER == BIG_ENDIAN
    26 const int LOW_BYTE_SHIFT = 8;
    27 const int HIGH_BYTE_SHIFT = 0;
     25#if (BYTE_ORDER == BIG_ENDIAN)& !defined(BYTE_SHIFT)
     26#define BYTE_SHIFT
     27#define LOW_BYTE_SHIFT 8
     28#define HIGH_BYTE_SHIFT 0
    2829#endif
    29 #if BYTE_ORDER == LITTLE_ENDIAN
    30 const int LOW_BYTE_SHIFT = 0;
    31 const int HIGH_BYTE_SHIFT = 8;
     30
     31#if (BYTE_ORDER == LITTLE_ENDIAN)& !defined(BYTE_SHIFT)
     32#define BYTE_SHIFT
     33#define LOW_BYTE_SHIFT 0
     34#define HIGH_BYTE_SHIFT 8
    3235#endif
     36
    3337
    3438/*
Note: See TracChangeset for help on using the changeset viewer.