Codebase list coq / lintian-fixes/main gramlib / gramext.ml
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

gramext.ml @lintian-fixes/mainraw · history · blame

(* camlp5r *)
(* gramext.ml,v *)
(* Copyright (c) INRIA 2007-2017 *)

type position =
  | First
  | Last
  | Before of string
  | After of string

type g_assoc = NonA | RightA | LeftA

let pr_assoc = function
  | LeftA -> Pp.str "left associativity"
  | RightA -> Pp.str "right associativity"
  | NonA -> Pp.str "no associativity"