mirror of
https://github.com/robertkrimen/otto
synced 2025-10-26 20:28:49 +08:00
fix whitespace issues (#297)
This commit is contained in:
committed by
Steven Hartland
parent
58e9cfdd5d
commit
6c383dd335
@@ -374,7 +374,7 @@ func (self *_parser) parseThrowStatement() ast.Statement {
|
||||
}
|
||||
|
||||
node := &ast.ThrowStatement{
|
||||
Throw: self.idx,
|
||||
Throw: self.idx,
|
||||
Argument: self.parseExpression(),
|
||||
}
|
||||
if self.mode&StoreComments != 0 {
|
||||
@@ -749,7 +749,7 @@ func (self *_parser) parseIfStatement() ast.Statement {
|
||||
|
||||
self.expect(token.LEFT_PARENTHESIS)
|
||||
node := &ast.IfStatement{
|
||||
If: self.idx,
|
||||
If: self.idx,
|
||||
Test: self.parseExpression(),
|
||||
}
|
||||
self.expect(token.RIGHT_PARENTHESIS)
|
||||
|
||||
Reference in New Issue
Block a user