summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-01-19 13:08:01 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2014-01-19 13:08:01 -0500
commitb62b6cba6c22190958bea688525b765de16ea82b (patch)
tree2892a610e83d5eb8212bf62f191746f807b4e2fa /doc
parentfa380103cc30d241964dcdffdb3cd766d1fce0a9 (diff)
New compiler option: -stop
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/manual.tex b/doc/manual.tex
index 0a088436..42ab7f70 100644
--- a/doc/manual.tex
+++ b/doc/manual.tex
@@ -341,6 +341,8 @@ fastcgi.server = (
\item \texttt{-sql FILENAME}: Set where a database set-up SQL script is written.
\item \texttt{-static}: Link the runtime system statically. The default is to link against dynamic libraries.
+
+\item \texttt{-stop PHASE}: Stop compilation after the named phase, printing the intermediate program to stderr. This flag is mainly useful for debugging the Ur/Web compiler itself.
\end{itemize}
There is an additional convenience method for invoking \texttt{urweb}. If the main argument is \texttt{FOO}, and \texttt{FOO.ur} exists but \texttt{FOO.urp} doesn't, then the invocation is interpreted as if called on a \texttt{.urp} file containing \texttt{FOO} as its only main entry, with an additional \texttt{rewrite all FOO/*} directive.