Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] parser: misplaced code

  • Loading branch information...
commit b9fca6b0c7ed510ab404a03a68de491b362bcbde 1 parent 2cd1aef
@Aqua-Ye Aqua-Ye authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 compiler/opalang/classic_syntax/parser_utils.ml
View
4 compiler/opalang/classic_syntax/parser_utils.ml
@@ -1360,8 +1360,8 @@ let tag_mismatch ((ns1,_annot), (tag1,tag1_annot)) ((ns2,_annot), (tag2,{QmlLoc.
push_tag (tag1, tag1_annot) ;
(error1 (sprintf "tag mismatch: opened with <%s>, closed with </%s>. Found at %s"
(hint_color (nstag_to_string ns1 tag1))
- (hint_color (nstag_to_string ns2 tag2))) _annot)
- (QmlLoc.pos_to_short_string (pos1, false))
+ (hint_color (nstag_to_string ns2 tag2))
+ (QmlLoc.pos_to_short_string (pos1, false))) _annot)
)
else ()
Please sign in to comment.
Something went wrong with that request. Please try again.