Skip to content

Commit

Permalink
Fix module-member access in JSX tags
Browse files Browse the repository at this point in the history
  • Loading branch information
OhadRau committed May 15, 2018
1 parent 5f6adb9 commit 59ded6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reason-parser/reason_lexer.mll
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ rule token = parse
| "[|" { LBRACKETBAR }
| "[<" { LBRACKETLESS }
| "[>" { LBRACKETGREATER }
| "<" lowercase identchar* {
| "<" (uppercase identchar* '.')* lowercase identchar* {
let buf = Lexing.lexeme lexbuf in
LESSIDENT (String.sub buf 1 (String.length buf - 1))
}
Expand Down

0 comments on commit 59ded6f

Please sign in to comment.