Skip to content

Commit

Permalink
Update java.yaml (#3526)
Browse files Browse the repository at this point in the history
  • Loading branch information
bearwithtea authored Oct 31, 2024
1 parent aeabd5a commit c8eeb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/syntax/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ detect:
filename: "\\.java$"

rules:
- type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b"
- type: "\\b(boolean|byte|char|double|float|int|long|new|var|short|this|transient|void)\\b"
- statement: "\\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b"
- type: "\\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\\b"
- constant: "\\b(true|false|null)\\b"
Expand Down

0 comments on commit c8eeb78

Please sign in to comment.