Skip to content

Commit

Permalink
aya: address keyword change
Browse files Browse the repository at this point in the history
  • Loading branch information
ice1000 committed May 31, 2024
1 parent 052af25 commit 4ef1646
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/main/grammar/AyaPsiParser.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,20 @@
KW_VARIABLE = 'variable'
KW_DEF = 'def'
KW_CLASS = 'class'
KW_CLASSIFIYING = 'classifying'
KW_DATA = 'data'
KW_DATA = 'inductive'
KW_PRIM = 'prim'
KW_EXTENDS = 'extends'
KW_NEW = 'new'
KW_DO = 'do'
KW_SELF = 'self'
KW_OVERRIDE = 'override'
KW_ELIM = 'elim'

// Unimplemented but reserved
KW_CODATA = 'codata'
KW_LET = 'let'
KW_IN = 'in'

// Unimplemented but reserved
KW_CLASSIFIYING = 'classifying'
KW_SELF = 'self'
KW_OVERRIDE = 'override'
KW_CODATA = 'coinductive'
KW_COMPLETED = 'completed'

// symbols
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/aya/intellij/ui/AyaIcons.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public interface AyaIcons {
@NotNull Icon AYA_FN = IconLoader.getIcon("/icons/fn.svg", AyaIcons.class);
@NotNull Icon AYA_PRIM = IconLoader.getIcon("/icons/prim.svg", AyaIcons.class);
@NotNull Icon AYA_DATA = IconLoader.getIcon("/icons/data.svg", AyaIcons.class);
@NotNull Icon AYA_CTOR = IconLoader.getIcon("/icons/dataCtor.svg", AyaIcons.class);
@NotNull Icon AYA_CTOR = IconLoader.getIcon("/icons/dataCon.svg", AyaIcons.class);
@NotNull Icon AYA_STRUCT = IconLoader.getIcon("/icons/struct.svg", AyaIcons.class);
@NotNull Icon AYA_FIELD = IconLoader.getIcon("/icons/structField.svg", AyaIcons.class);
@NotNull Icon GOAL = IconLoader.getIcon("/icons/goal.svg", AyaIcons.class);
Expand Down
File renamed without changes

0 comments on commit 4ef1646

Please sign in to comment.