aboutsummaryrefslogtreecommitdiff
path: root/lib/main.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.ex')
-rw-r--r--lib/main.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/main.ex b/lib/main.ex
index 99c25ca..5e7cf55 100644
--- a/lib/main.ex
+++ b/lib/main.ex
@@ -11,6 +11,7 @@ defmodule ElixirMathParser.Main do
case ElixirMathParser.process_tree(tree) do
{:ok, _} -> :ok
+ {:error, line, reason} -> reason <> " (line " <> to_string(line) <> ")"
{:error, reason} -> reason
end
end