Skip to content

Commit

Permalink
Update Dart keyword to Dart 3.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Mar 3, 2024
1 parent f9fcb64 commit 76cc703
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Latest development builds (artifacts in Release configuration for each compiler
* Apache Configuration File
* [CSV File](https://www.rfc-editor.org/rfc/rfc4180)
* [D](tools/lang/D.d), up to D language 2.0.
* [Dart](tools/lang/Dart.dart), up to Dart 3.0.
* [Dart](tools/lang/Dart.dart), up to Dart 3.3.
* Diff/Patch File
* [F#](tools/lang/FSharp.fs), up to F# 8.0.
* [Fortran](tools/lang/Fortran.f), up to Fortran 2018.
Expand Down
2 changes: 1 addition & 1 deletion src/EditLexers/stlDart.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ static KEYWORDLIST Keywords_Dart = {{
"abstract as assert async await base break case catch class const continue covariant default deferred do "
"else enum export extends extension external factory false final finally for get hide "
"if implements import in interface is late library mixin native new null of on operator part required rethrow return "
"sealed set show static super switch sync this throw true try typedef var when while with yield "
"sealed set show static super switch sync this throw true try type typedef var when while with yield "

, // 1 types
"Function Never bool double dynamic int num void "
Expand Down
4 changes: 2 additions & 2 deletions tools/lang/Dart.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 3.0 https://dart.dev/
// 3.3 https://dart.dev/
// https://dart.dev/guides/language/language-tour
// 2.13 https://dart.dev/guides/language/spec
// https://github.com/dart-lang/language
Expand All @@ -22,7 +22,7 @@ of on operator
part
rethrow return required
sealed set show static super switch sync
this throw true try typedef
this throw true try type typedef
var
when while with
yield
Expand Down

0 comments on commit 76cc703

Please sign in to comment.