[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Babel: parse error when output contains opening bracket
From: |
Jarmo Hurri |
Subject: |
Babel: parse error when output contains opening bracket |
Date: |
Thu, 25 Jun 2020 14:28:54 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Greetings.
In the org file below, the first babel block will evaluate just fine,
while the second will signal "End of file during parsing". The
difference is the opening bracket "[" in output.
I think am running the most recent stable version:
Org mode version 9.3.7 (release_9.3.7-4-gba6ca7)
Thanks for any ideas.
Jarmo
# ---------------------------------------------------------------------------
* This will parse just fine
#+name: OK
#+begin_src java :exports results :classname OK :results output
class OK
{
public static void main (String[] args) { System.out.println ("foo"); }
}
#+end_src
#+RESULTS: OK
: foo
* This will generate a parse error when evaluated
#+name: BAD
#+begin_src java :exports results :classname BAD :results output
class BAD
{
public static void main (String[] args) { System.out.println ("[foo"); }
}
#+end_src
- Babel: parse error when output contains opening bracket,
Jarmo Hurri <=
- Re: Babel: parse error when output contains opening bracket, ian martins, 2020/06/26
- Re: Babel: parse error when output contains opening bracket, Jarmo Hurri, 2020/06/27
- Re: Babel: parse error when output contains opening bracket, ian martins, 2020/06/27
- Re: Babel: parse error when output contains opening bracket, Jarmo Hurri, 2020/06/28
- Re: Babel: parse error when output contains opening bracket, ian martins, 2020/06/28
- Re: Babel: parse error when output contains opening bracket, Jarmo Hurri, 2020/06/30
- Re: Babel: parse error when output contains opening bracket, ian martins, 2020/06/30