src/javacodegen.c

changeset 50
17408c3607ce
parent 49
f86f0b054464
child 51
f25ba6fd7a08
--- a/src/javacodegen.c	Tue Aug 23 17:31:15 2016 +0200
+++ b/src/javacodegen.c	Thu Aug 25 11:30:30 2016 +0200
@@ -104,7 +104,7 @@
             } else {
                 if (isstring) {
                     put_htmlescaped(dest, c);
-                } else if (!check_alnumex(c)) {
+                } else if (!isalnum(c) && c!='_' && c!='#' && c!='@') {
                     if (word.length > 0 && word.length < WORDBUF_SIZE) {
                         int closespan = 1;
                         if (check_keyword(word, jkeywords)) {

mercurial