emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Babel] Parsing source block bug ...


From: aditya siram
Subject: [O] [Babel] Parsing source block bug ...
Date: Fri, 13 Sep 2013 22:08:35 -0500

Hi all,
This patch fixes a bug where the regexp for parsing source blocks is too greedy on the body and so fails in the presence of empty code blocks. For instance given the following:

#+begin_src c
#+end_src

#+begin_src c
hello world
#+end_src

, doing (org-babel-get-src-block-info) the first #+begin_src will include everything up to the second #+end_src as part of the body.
-deech

Attachment: src_block_regexp_fix.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]