Reduced scope of hex lookup table
This commit is contained in:
parent
a6e081c657
commit
75e10f52ac
3
asm.c
3
asm.c
|
@ -433,10 +433,9 @@ void update_jumps(struct Token* head, struct Token* p)
|
|||
}
|
||||
}
|
||||
|
||||
char table[16] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
|
||||
|
||||
void hexify_string(char* s, char* d, int max)
|
||||
{
|
||||
char table[16] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
|
||||
int i = 0;
|
||||
while( i < max)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue