Skip to content

Commit

Permalink
Merge pull request #320 from chemidy/chemidy-misspell
Browse files Browse the repository at this point in the history
misspell
  • Loading branch information
chris-ramon authored Apr 16, 2018
2 parents 69a5a57 + 7d314ac commit 51e8a07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion language/lexer/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func lineIsBlank(in string) bool {
return leadingWhitespaceLen(in) == len(in)
}

// Converts four hexidecimal chars to the integer that the
// Converts four hexadecimal chars to the integer that the
// string represents. For example, uniCharCode('0','0','0','f')
// will return 15, and uniCharCode('0','0','f','f') returns 255.
// Returns a negative number on error, if a char was invalid.
Expand Down
2 changes: 1 addition & 1 deletion language/visitor/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ func getFieldValue(obj interface{}, key interface{}) interface{} {
return value.Interface()
}

// currenty only supports update struct field value
// currently only supports update struct field value
func updateNodeField(src interface{}, targetName string, target interface{}) interface{} {
var isPtr bool
srcVal := reflect.ValueOf(src)
Expand Down
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func getGraphList(tipe reflect.Type) *List {
return NewList(String)
}
}
// finaly bind object
// finally bind object
t := reflect.New(tipe.Elem())
name := strings.Replace(fmt.Sprint(tipe.Elem()), ".", "_", -1)
obj := NewObject(ObjectConfig{
Expand Down

0 comments on commit 51e8a07

Please sign in to comment.