Skip to content

Commit 0656588

Browse files
authored
(chore) removed dangling comma (#2612)
- This causes a syntax error on node 6 and earlier.
1 parent b1bce6e commit 0656588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languages/java.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function(hljs) {
4242
regex.either(
4343
regex.concat(SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'), /\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')),
4444
regex.concat(SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'), /\.?/),
45-
regex.concat(/\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')),
45+
regex.concat(/\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'))
4646
),
4747
/([pP][+-]?(\d+))?/,
4848
/[fFdDlL]?/ // decimal & fp mixed for simplicity

0 commit comments

Comments
 (0)