This commit is contained in:
Sasha Koshka 2022-10-25 11:26:17 -04:00
parent 4385319874
commit 58bae14528
1 changed files with 3 additions and 3 deletions

View File

@ -47,9 +47,8 @@ func (analyzer *analysisOperation) analyzePhrase (
phrase Phrase,
err error,
) {
base := phraseBase {
}
base := phraseBase { }
base.location = inputPhrase.Location()
arguments := []Argument { }
for index := 0; index < inputPhrase.Length(); index ++ {
@ -58,6 +57,7 @@ func (analyzer *analysisOperation) analyzePhrase (
var argument Argument
argument, err = analyzer.analyzeArgument(inputArgument)
if err != nil { return }
arguments = append(arguments, argument)
}