Skip to content

Commit

Permalink
Merge pull request #1 from cornell-netlab/pretty-bugfix
Browse files Browse the repository at this point in the history
Pretty-printing bugfix
  • Loading branch information
jnfoster authored Apr 30, 2019
2 parents f0578fa + 01f7714 commit bca7b2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/pretty.ml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ end = struct
let format_t fmt e =
match snd e with
| In -> Format.fprintf fmt "in"
| Out -> Format.fprintf fmt "in"
| Out -> Format.fprintf fmt "out"
| InOut -> Format.fprintf fmt "inout"
end

Expand Down
4 changes: 2 additions & 2 deletions lib/types.mli
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ and Parser : sig

type case = pre_case info [@@deriving sexp,yojson]

type pre_transition =
Direct of
type pre_transition =
Direct of
{ next: P4String.t }
| Select of
{ exprs: Expression.t list;
Expand Down
2 changes: 1 addition & 1 deletion petr4.opam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opam-version: "2.0"
version: "0.1"
version: "0.1.1"
synopsis: "Petr4: Formal Semantics for the P4 Programming Language"
maintainer: "[email protected]"
authors: ["Nate Foster <[email protected]>"]
Expand Down

0 comments on commit bca7b2b

Please sign in to comment.