src/ccodegen.c

changeset 50
17408c3607ce
parent 49
f86f0b054464
child 51
f25ba6fd7a08
equal deleted inserted replaced
49:f86f0b054464 50:17408c3607ce
126 put_htmlescaped(dest, c); 126 put_htmlescaped(dest, c);
127 } 127 }
128 } else { 128 } else {
129 if (isstring) { 129 if (isstring) {
130 put_htmlescaped(dest, c); 130 put_htmlescaped(dest, c);
131 } else if (!check_alnumex(c)) { 131 } else if (!isalnum(c) && c!='_' && c!='#' && c!='@') {
132 if (word.length > 0 && word.length < WORDBUF_SIZE) { 132 if (word.length > 0 && word.length < WORDBUF_SIZE) {
133 int closespan = 1; 133 int closespan = 1;
134 sstr_t typesuffix = ST("_t"); 134 sstr_t typesuffix = ST("_t");
135 if (check_keyword(word, ckeywords)) { 135 if (check_keyword(word, ckeywords)) {
136 ucx_buffer_puts(dest, 136 ucx_buffer_puts(dest,

mercurial