Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Nov 12, 2024
1 parent 201ef3b commit 3c6d892
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion TeXmacs/tests/11_38.scm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
(check (cork->utf8 (string-append cork_60 cork_27)) => "‘'")
(check (strict-cork->utf8 (string-append cork_60 cork_27)) => "‘'")))

(define (test-verbatim-to-tree)
(check (verb) => ))


(tm-define (test_11_38)
(test-single-quote))
(test-single-quote)
(test-verbatim-to-tree))
3 changes: 3 additions & 0 deletions src/Data/Convert/Verbatim/verbatim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,10 @@ encode (string s, string enc) {

tree
verbatim_to_tree (string s, string enc) {
cout << "verbatim: " << LF << s << LF;
cout << "enc: " << enc << LF;
s= encode (s, enc);
cout << "encoded: " << s << LF;
int i, j;
int s_N= N (s);
for (i= 0; i < s_N; i++)
Expand Down

0 comments on commit 3c6d892

Please sign in to comment.