Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(JAVA) Add goto to be recognized as a keyword in Java #3963

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

alvinsjoy
Copy link
Contributor

@alvinsjoy alvinsjoy commented Jan 12, 2024

Added goto to be recognised as a main keyword in Java.

Resolves #3962

Changes

Added goto to MAIN_KEYWORDS as Java keyword list specifies goto as a keyword.
image

Checklist

  • Added markup tests, or they don't apply here because goto is marked as "not used" by Java keyword list
  • Updated the changelog at CHANGES.md

@SouravH5409
Copy link

Nice bro

Copy link

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

5 files changed

Total change +15 B

View Changes
file base pr diff
es/core.min.js 8.17 KB 8.18 KB +2 B
es/highlight.min.js 8.17 KB 8.18 KB +2 B
es/languages/java.min.js 1.31 KB 1.31 KB +4 B
highlight.min.js 8.21 KB 8.21 KB +3 B
languages/java.min.js 1.32 KB 1.32 KB +4 B

@joshgoebel joshgoebel merged commit 200c09c into highlightjs:main Jan 12, 2024
15 checks passed
@joshgoebel
Copy link
Member

Thanks fo much for the help!

@alvinsjoy
Copy link
Contributor Author

You are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(JAVA) Does not highlight the reserved keyword goto
3 participants