Skip to content

Commit

Permalink
Fixed infix lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulytchev committed Jan 13, 2020
1 parent e0deb34 commit 6565c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/Util.ml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module Lexers =
end

class virtual infix s =
let regexp = Re_str.regexp "[+*/%$#@!|&^~?<>=\\-]+" in
let regexp = Re_str.regexp "[+*/%$#@!|&^~?<>:=\\-]+" in
object(self : 'self)
method virtual get : 'b. String.t -> Re_str.regexp -> (Token.t -> 'self -> ('self, 'b, Reason.t) Types.result) -> ('self, 'b, Reason.t) Types.result
method getINFIX : 'b. (string -> 'self -> ('self, 'b, Reason.t) Types.result) -> ('self, 'b, Reason.t) Types.result =
Expand Down

0 comments on commit 6565c87

Please sign in to comment.