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:
Benjamin Loison 2022-12-16 15:40:24 +01:00
parent dbf1583ffd
commit 7a0f54f291
2 changed files with 1 additions and 8 deletions

View File

@ -122,7 +122,7 @@
\section{Translation to C}
\begin{frame}
Architecture similar to Arnaud's AST pretty-printer.
\texttt{ast\_to\_c.ml} architecture similar to Arnaud's AST pretty-printer.
\pause

View File

@ -1,12 +1,5 @@
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 =
| Base
| Arg