Wed, 10 Feb 2016 12:45:14 +0100
applied multi line comment fix to java code generator
src/javacodegen.c | file | annotate | diff | comparison | revisions |
--- a/src/javacodegen.c Wed Feb 10 12:34:31 2016 +0100 +++ b/src/javacodegen.c Wed Feb 10 12:45:14 2016 +0100 @@ -53,14 +53,8 @@ dp += sizeof(str)-1 void jparseline(char *src, char *dest, highlighter_t *hltr) { - size_t sp = 0, dp = 0; - /* indent */ - while (isspace(src[sp])) { - dest[dp++] = src[sp++]; - } - memset(hltr->word, 0, WORDBUF_SIZE); - size_t wp = 0; + size_t wp = 0, sp = 0, dp = 0; int isstring = 0, iscomment = 0, isimport = 0; char quote = '\0'; int isescaping = 0;