comparison src/symbol.c @ 52:b9856da2674a

Added file inclusion
author lost
date Sun, 04 Jan 2009 20:16:38 +0000
parents d2cee0c335e7
children b1d81800bc91
comparison
equal deleted inserted replaced
51:04868fa52a15 52:b9856da2674a
58 return -1; 58 return -1;
59 } 59 }
60 60
61 for (p = sym; *p; p++) 61 for (p = sym; *p; p++)
62 { 62 {
63 if (!strchr("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._$?@0123456789", *sym) && (unsigned char)*sym < 0x80) 63 if (!strchr("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._$?@0123456789", *sym))
64 { 64 {
65 register_error(as, l, 1, "Bad symbol: %s", sym); 65 register_error(as, l, 1, "Bad symbol: %s", sym);
66 return -1; 66 return -1;
67 } 67 }
68 // flag local symbols while we're at it... 68 // flag local symbols while we're at it...