Skip to content

Commit

Permalink
(chore) removed dangling comma (#2612)
Browse files Browse the repository at this point in the history
- This causes a syntax error on node 6 and earlier.
  • Loading branch information
ehoogerbeets committed Jun 16, 2020
1 parent b1bce6e commit 0656588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/java.js
Expand Up @@ -42,7 +42,7 @@ export default function(hljs) {
regex.either(
regex.concat(SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'), /\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')),
regex.concat(SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'), /\.?/),
regex.concat(/\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9')),
regex.concat(/\./, SEQUENCE_ALLOWING_UNDERSCORES('a-fA-F0-9'))
),
/([pP][+-]?(\d+))?/,
/[fFdDlL]?/ // decimal & fp mixed for simplicity
Expand Down

0 comments on commit 0656588

Please sign in to comment.