Skip to content

Commit

Permalink
Fix for change to structure RegExpSyntax: REGEXP_SYNTAX from SML/NJ…
Browse files Browse the repository at this point in the history
… Library
  • Loading branch information
MatthewFluet committed Jul 18, 2020
1 parent 5bed4c9 commit c4fc272
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mlnlffigen/main.sml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(* Copyright (C) 2005-2008 Henry Cejtin, Matthew Fluet, Suresh
(* Copyright (C) 2020 Matthew Fluet.
* Copyright (C) 2005-2008 Henry Cejtin, Matthew Fluet, Suresh
* Jagannathan, and Stephen Weeks.
*
* MLton is released under a HPND-style license.
Expand Down Expand Up @@ -65,8 +66,7 @@ fun makeOptions {usage} =
let
val regexp =
SOME (RE.compileString re)
handle RegExpSyntax.CannotParse => NONE
| RegExpSyntax.CannotCompile => NONE
handle RegExpSyntax.CannotCompile => NONE
in
case regexp of
SOME regexp =>
Expand Down

0 comments on commit c4fc272

Please sign in to comment.