diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2015-01-18 23:47:36 -0500 |
---|---|---|
committer | Aaron Ecay <aaronecay@gmail.com> | 2015-01-18 23:47:36 -0500 |
commit | b3712b9840753fd337f7ccdf27bab3607e803386 (patch) | |
tree | 84300d6cb59dd9814b92b12f58a57b0901bdbca1 | |
parent | f1dcbfe79c0a9769c7b728336c1c8c4ced7893fc (diff) | |
download | org-mode-b3712b9840753fd337f7ccdf27bab3607e803386.tar.gz |
ob-ocaml: Add a cautionary comment about dodgy regex use.
* lisp/ob-ocaml.el (org-babel-ocaml-read-list): Add comment
-rw-r--r-- | lisp/ob-ocaml.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ob-ocaml.el b/lisp/ob-ocaml.el index 2439150..809aa33 100644 --- a/lisp/ob-ocaml.el +++ b/lisp/ob-ocaml.el @@ -150,6 +150,10 @@ VALUE and TYPE are string output from an ocaml process." "Convert RESULTS into an elisp table or string. If the results look like a table, then convert them into an Emacs-lisp table, otherwise return the results as a string." + ;; XXX: This probably does not behave as expected when a semicolon + ;; is in a string in a list. The same comment applies to + ;; `org-babel-ocaml-read-array' below (with even more failure + ;; modes). (org-babel-script-escape (replace-regexp-in-string ";" "," results))) (defun org-babel-ocaml-read-array (results) |