Skip to content

Commit c8a2522

Browse files
committed
Updated for overloads.
1 parent c614a52 commit c8a2522

File tree

4 files changed

+108
-11
lines changed

4 files changed

+108
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## [Unreleased]
66

7+
- Correctly highlight overloads.
8+
79
## [0.1.2] - 2025-04-04
810

911
- Line marker for main.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pluginGroup = com.github.c3lang.c3intellij
44
pluginName = c3intellij
55
pluginRepositoryUrl = https://github.com/c3lang/c3intellij
66
# SemVer format -> https://semver.org
7-
pluginVersion = 0.1.2
7+
pluginVersion = 0.1.3
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 241

src/main/gen/org/c3lang/intellij/parser/C3Parser.java

Lines changed: 104 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/org/c3lang/intellij/C3.bnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ attribute_user_name ::= AT_TYPE_IDENT
167167
attribute_name ::= AT_IDENT | path? AT_TYPE_IDENT
168168
attribute_param_list ::= attr_param (COMMA attr_param)*
169169
attr_param ::= attribute_operator_expr | constant_expr
170-
attribute_operator_expr ::= LBT RBT EQ | AMP? LBT RBT
170+
attribute_operator_expr ::= BIT_AND_ASSIGN | BIT_OR_ASSIGN | BIT_XOR_ASSIGN | PLUS_ASSIGN | MINUS_ASSIGN | MULT_ASSIGN | DIV_ASSIGN | MOD_ASSIGN | SHL_ASSIGN | SHR_ASSIGN | &RP | MINUS &RP | DIV | STAR &RP | MOD | EQ_OP | NE_OP | BIT_XOR | BIT_NOT | BIT_OR | AMP &RP | SHL | SHR | LBT RBT EQ | AMP? LBT RBT
171171
private struct_or_union ::= KW_STRUCT | KW_UNION
172172

173173
type_name ::= TYPE_IDENT

0 commit comments

Comments
 (0)