mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-18 02:36:27 -08:00
fix: commenting out some ineffective assignments.
This commit is contained in:
parent
7d5c02d16b
commit
ac8c225752
1 changed files with 3 additions and 3 deletions
|
@ -147,12 +147,12 @@ func (interp *Interpreter) Eval(script string) (string, error) {
|
|||
* TODO: escape handling missing!
|
||||
*/
|
||||
case ptSEP:
|
||||
prevType = parser.Type
|
||||
// prevType = parser.Type
|
||||
continue
|
||||
}
|
||||
|
||||
if parser.Type == ptEOL {
|
||||
prevType = parser.Type
|
||||
// prevType = parser.Type
|
||||
if len(argv) != 0 {
|
||||
cmd := interp.Command(argv[0])
|
||||
if cmd == nil {
|
||||
|
@ -178,7 +178,7 @@ func (interp *Interpreter) Eval(script string) (string, error) {
|
|||
} else { // Interpolation
|
||||
argv[len(argv)-1] = strings.Join([]string{argv[len(argv)-1], token}, "")
|
||||
}
|
||||
prevType = parser.Type
|
||||
// prevType = parser.Type
|
||||
}
|
||||
return result, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue