Skip to content

Commit

Permalink
Add some missing headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nberth committed Oct 3, 2023
1 parent 0a3c09c commit 454fcdb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
15 changes: 14 additions & 1 deletion src/lsp/cobol_ast/unparse.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
(**************************************************************************)
(* *)
(* SuperBOL OSS Studio *)
(* *)
(* Copyright (c) 2022-2023 OCamlPro SAS *)
(* *)
(* All rights reserved. *)
(* This source code is licensed under the GNU Affero General Public *)
(* License version 3 found in the LICENSE.md file in the root directory *)
(* of this source tree. *)
(* *)
(**************************************************************************)

module Expression : sig
type precedence = int

Expand Down Expand Up @@ -105,4 +118,4 @@ end = struct
AnyOp op, Fmt.(lhs ++ any " " ++ name ++ sp ++ rhs)

let pp ppf (_, pp) = pp ppf ()
end
end
18 changes: 17 additions & 1 deletion src/lsp/cobol_ast/unparse.mli
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
(**************************************************************************)
(* *)
(* SuperBOL OSS Studio *)
(* *)
(* Copyright (c) 2022-2023 OCamlPro SAS *)
(* *)
(* All rights reserved. *)
(* This source code is licensed under the GNU Affero General Public *)
(* License version 3 found in the LICENSE.md file in the root directory *)
(* of this source tree. *)
(* *)
(**************************************************************************)

(* NB: This module is not specific to COBOL; it does not really fit within
`cobol_ast`. *)

module Expression : sig
type precedence = int
(** Operator precedence is represented using integers. Operators with a higher
Expand Down Expand Up @@ -38,4 +54,4 @@ module Expression : sig
val unary : unary_op -> t -> t

val binary : t -> binary_op -> t -> t
end
end

0 comments on commit 454fcdb

Please sign in to comment.