"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Data/Convert/Tex/fromtex_post.cpp" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

fromtex_post.cpp  (TeXmacs-1.99.4-src):fromtex_post.cpp  (TeXmacs-1.99.5-src)
skipping to change at line 1957 skipping to change at line 1957
tree tmp= remove_empty_withs (t[i]); tree tmp= remove_empty_withs (t[i]);
if (tmp != "" || !is_func (t[i], WITH)) { if (tmp != "" || !is_func (t[i], WITH)) {
r << tmp; r << tmp;
} }
} }
return r; return r;
} }
tree tree
merge_successive_withs (tree t, bool force_concat= false) { merge_successive_withs (tree t, bool force_concat= false) {
(void) force_concat;
if (is_atomic (t)) return t; if (is_atomic (t)) return t;
int i, n= N(t); int i, n= N(t);
tree r(L(t)); tree r(L(t));
if (!is_concat (t) && !is_document (t)) { if (!is_concat (t) && !is_document (t)) {
r= tree (t, n); r= tree (t, n);
for (i=0; i<n; i++) for (i=0; i<n; i++)
r[i]= merge_successive_withs (t[i]); r[i]= merge_successive_withs (t[i]);
} }
else { else {
for (i=0; i<n; i++) { for (i=0; i<n; i++) {
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS