Commit e5bc619d authored by POTTIER Francois's avatar POTTIER Francois

Activated warning 33 and removed a bunch of unused [open] declarations.

parent 2869d5f2
(* Driver for the back-end. *)
open UnparameterizedSyntax
module I = Interpret (* artificial dependency; ensures that [Interpret] runs first *)
(* Define an .ml file writer . *)
......
open Printf
open Lexing
(* TEMPORARY Vrifier que les messages d'erreur sont standardiss au
maximum, localiss au maximum. Supprimer autant de fonctions que
......
open UnparameterizedSyntax
open Syntax
open Stretch
open Positions
(* ------------------------------------------------------------------------ *)
......
......@@ -2,5 +2,5 @@
(* Everything is in [Back]. *)
open Back
module B = Back (* artificial dependency *)
......@@ -9,7 +9,7 @@ let flags () =
(* -inline 1000 *)
flag ["ocaml"; "compile"; "native"] (S [A "-inline"; A "1000"]);
(* nazi warnings *)
flag ["ocaml"; "compile"; "my_warnings"] (S[A "-w"; A "@1..49-4-9-33-41-44"])
flag ["ocaml"; "compile"; "my_warnings"] (S[A "-w"; A "@1..49-4-9-41-44"])
(* ---------------------------------------------------------------------------- *)
......
......@@ -3,7 +3,6 @@
(* TEMPORARY clean up and write an .mli file *)
open Syntax
open Misc
open Positions
let app p ps =
......
(* $Id: partialGrammar.ml,v 1.63 2006/10/22 14:07:57 fpottier Exp $ *)
open Misc
open Syntax
open Stretch
open ConcreteSyntax
open InternalSyntax
open Positions
......
open Printf
open Syntax
let read_whole_file filename =
......
open UnparameterizedSyntax
open Syntax
let rec visit grammar visited symbol =
try
......
......@@ -4,12 +4,6 @@
/* A sentence is a pair of an optional non-terminal start symbol and a list
of terminal symbols. */
%{
open Grammar
%}
%token COLON EOF EOL
%token<Grammar.Terminal.t> TERMINAL
%token<Grammar.Nonterminal.t> NONTERMINAL
......
open Positions
open Misc
open Syntax
open Stretch
open UnparameterizedSyntax
......
......@@ -5,7 +5,6 @@
%{
open Keyword
open ConcreteSyntax
open Syntax
open Positions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment