Remove unused pp_loc
from src/ast_to_c.ml
which was copied from src/pp.ml
but never used
This commit is contained in:
parent
dbf1583ffd
commit
7a0f54f291
@ -122,7 +122,7 @@
|
|||||||
\section{Translation to C}
|
\section{Translation to C}
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
|
|
||||||
Architecture similar to Arnaud's AST pretty-printer.
|
\texttt{ast\_to\_c.ml} architecture similar to Arnaud's AST pretty-printer.
|
||||||
|
|
||||||
\pause
|
\pause
|
||||||
|
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
open Ast
|
open Ast
|
||||||
|
|
||||||
let pp_loc fmt (start, stop) =
|
|
||||||
Lexing.(
|
|
||||||
Format.fprintf fmt "%s: <l: %d, c: %d> -- <l: %d, c: %d>"
|
|
||||||
start.pos_fname
|
|
||||||
start.pos_lnum start.pos_cnum
|
|
||||||
stop.pos_lnum stop.pos_cnum)
|
|
||||||
|
|
||||||
type var_list_delim =
|
type var_list_delim =
|
||||||
| Base
|
| Base
|
||||||
| Arg
|
| Arg
|
||||||
|
Loading…
Reference in New Issue
Block a user