Changes to qemacs/xml.c
Charlie Gordon <[email protected]> Wed, 11 May 2005 11:12:19 -0400
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Index: qemacs/xml.c
diff -u qemacs/xml.c:1.1.1.1 qemacs/xml.c:1.2
--- qemacs/xml.c:1.1.1.1 Sat May 29 10:18:31 2004
+++ qemacs/xml.c Wed May 11 15:12:14 2005
@@ -41,7 +41,7 @@
/* if already in a state, go directly in the code parsing it */
if (state & XML_SCRIPT)
goto parse_script;
- switch(state) {
+ switch (state) {
case XML_COMMENT:
goto parse_comment;
case XML_TAG:
@@ -53,7 +53,7 @@
break;
}
- for(;;) {
+ for (;;) {
p_start = p;
c = *p;
if (c == '\n') {
@@ -102,7 +102,7 @@
/* javascript coloring */
p_start = p;
parse_script:
- for(;;) {
+ for (;;) {
if (*p == '\n') {
state &= ~XML_SCRIPT;
c_colorize_line(p_start, p - p_start, &state, state_only);
@@ -129,7 +129,7 @@
/* stylesheet coloring */
p_start = p;
parse_style:
- for(;;) {
+ for (;;) {
if (*p == '\n') {
set_color(p_start, p - p_start, QE_STYLE_CSS);
break;