Add cast phrase kind to parser
This commit is contained in:
parent
308996f059
commit
6dfde851e5
@ -314,6 +314,8 @@ func (parser *parsingOperation) parsePhraseCommand () (
|
||||
switch identifier.trail[0] {
|
||||
case "loc":
|
||||
kind = PhraseKindReference
|
||||
case "cast":
|
||||
kind = PhraseKindCast
|
||||
case "defer":
|
||||
kind = PhraseKindDefer
|
||||
case "if":
|
||||
|
@ -236,6 +236,7 @@ const (
|
||||
PhraseKindOperator
|
||||
PhraseKindAssign
|
||||
PhraseKindReference
|
||||
PhraseKindCast
|
||||
PhraseKindDefer
|
||||
PhraseKindIf
|
||||
PhraseKindElseIf
|
||||
|
Reference in New Issue
Block a user