src/javacodegen.c

changeset 50
17408c3607ce
parent 49
f86f0b054464
child 51
f25ba6fd7a08
equal deleted inserted replaced
49:f86f0b054464 50:17408c3607ce
102 put_htmlescaped(dest, c); 102 put_htmlescaped(dest, c);
103 } 103 }
104 } else { 104 } else {
105 if (isstring) { 105 if (isstring) {
106 put_htmlescaped(dest, c); 106 put_htmlescaped(dest, c);
107 } else if (!check_alnumex(c)) { 107 } else if (!isalnum(c) && c!='_' && c!='#' && c!='@') {
108 if (word.length > 0 && word.length < WORDBUF_SIZE) { 108 if (word.length > 0 && word.length < WORDBUF_SIZE) {
109 int closespan = 1; 109 int closespan = 1;
110 if (check_keyword(word, jkeywords)) { 110 if (check_keyword(word, jkeywords)) {
111 ucx_buffer_puts(dest, 111 ucx_buffer_puts(dest,
112 "<span class=\"c2html-keyword\">"); 112 "<span class=\"c2html-keyword\">");

mercurial