if (t == NULL) {
return;
}
+
char * temp;
switch (t->type) {
print_token(t);
temp = NULL;
+
if (t->next) {
temp = (char *) &source[t->next->start];
}
source = (char *) &source[t->start + t->len];
while (char_is_whitespace(*source) &&
- ((temp == NULL) ||
- (source < temp))) {
+ ((temp == NULL) ||
+ (source < temp))) {
print_char(*source);
source++;
}
+
break;
case MATH_BRACKET_OPEN:
}
char * temp;
-
+
switch (t->type) {
case ESCAPED_CHARACTER:
print_const("\\");
print_token(t);
temp = NULL;
+
if (t->next) {
temp = (char *) &source[t->next->start];
}
source = (char *) &source[t->start + t->len];
while (char_is_whitespace(*source) &&
- ((temp == NULL) ||
- (source < temp))) {
+ ((temp == NULL) ||
+ (source < temp))) {
print_char(*source);
source++;
}
+
break;
case SUBSCRIPT:
print_token(t);
temp = NULL;
+
if (t->next) {
temp = (char *) &source[t->next->start];
}
source = (char *) &source[t->start + t->len];
while (char_is_whitespace(*source) &&
- ((temp == NULL) ||
- (source < temp))) {
- print_char(*source);
- source++;
- }
+ ((temp == NULL) ||
+ (source < temp))) {
+ print_char(*source);
+ source++;
+ }
+
break;
-
+
case MATH_BRACKET_OPEN:
case MATH_BRACKET_CLOSE:
case MATH_PAREN_OPEN: