Skip to content

Commit

Permalink
Update to 0.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Jul 24, 2023
1 parent ea5e668 commit 3bbb429
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 2,085 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

## [Unreleased]

## [0.0.12] - 2023-07-24

### Updated

- Remove assert(try ...)
- Support `nextcase default`.

## [0.0.11] - 2023-07-06

### Updated
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginGroup = com.github.c3lang.c3intellij
pluginName = c3intellij
pluginRepositoryUrl = https://github.com/c3lang/c3intellij
# SemVer format -> https://semver.org
pluginVersion = 0.0.11
pluginVersion = 0.0.12

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 222
Expand Down
2,058 changes: 0 additions & 2,058 deletions src/main/gen/org/c3lang/intellij/lexer/C3Lexer.java

This file was deleted.

22 changes: 7 additions & 15 deletions src/main/gen/org/c3lang/intellij/parser/C3Parser.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/main/gen/org/c3lang/intellij/psi/C3AssertStmt.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/main/java/org/c3lang/intellij/C3.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const_decl ::= KW_CONST type? CONST_IDENT attributes? EQ expr EOS

ct_assert_stmt ::= KW_CT_ERROR constant_expr EOS | KW_CT_ASSERT constant_expr (COLON constant_expr)? EOS
ct_echo_stmt ::= KW_CT_ECHO constant_expr EOS
assert_stmt ::= KW_ASSERT LP (try_unwrap_chain | expr) (COMMA expr)* RP EOS
assert_stmt ::= KW_ASSERT LP expr (COMMA expr)* RP EOS
ct_if_stmt ::= KW_CT_IF constant_expr COLON statement_list? (KW_CT_ELSE statement_list?)? KW_CT_ENDIF

ct_switch_stmt ::= ct_switch ct_switch_body KW_CT_ENDSWITCH
Expand Down Expand Up @@ -269,7 +269,7 @@ foreach_vars ::= foreach_var (COMMA foreach_var)?
foreach_var ::= optional_type? AMP? IDENT
continue_stmt ::= KW_CONTINUE CONST_IDENT? EOS
break_stmt ::= KW_BREAK CONST_IDENT? EOS
nextcase_stmt ::= KW_NEXTCASE ((CONST_IDENT COLON)? (type | expr))? EOS
nextcase_stmt ::= KW_NEXTCASE ((CONST_IDENT COLON)? (type | expr | KW_DEFAULT))? EOS

asm_block_stmt ::= KW_ASM (LP expr RP | LB asm_stmt* RB)
asm_stmt ::= asm_instr asm_exprs? EOS
Expand Down

0 comments on commit 3bbb429

Please sign in to comment.