comparison dmd/Lexer.d @ 174:af724d3510d7

lot os toCBuffer methods implemented moved shared Type.* stuff into Global
author korDen
date Sun, 10 Oct 2010 03:47:23 +0400
parents e7769d53e750
children 94b6033c07f3
comparison
equal deleted inserted replaced
173:d237b38b5858 174:af724d3510d7
652 { "ref", TOK.TOKref }, 652 { "ref", TOK.TOKref },
653 { "macro", TOK.TOKmacro }, 653 { "macro", TOK.TOKmacro },
654 ]; 654 ];
655 } 655 }
656 656
657 static ubyte cmtable[256]; 657 static __gshared ubyte cmtable[256];
658 enum CMoctal = 0x1; 658 enum CMoctal = 0x1;
659 enum CMhex = 0x2; 659 enum CMhex = 0x2;
660 enum CMidchar = 0x4; 660 enum CMidchar = 0x4;
661 661
662 ubyte isoctal (ubyte c) { return cmtable[c] & CMoctal; } 662 ubyte isoctal (ubyte c) { return cmtable[c] & CMoctal; }