1
0
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:
carterjones
2018-03-04 20:20:45 -08:00
committed by Steven Hartland
parent 58e9cfdd5d
commit 6c383dd335
3 changed files with 10 additions and 10 deletions

View File

@@ -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)