mirror of
https://github.com/golang/go.git
synced 2025-05-16 04:44:39 +00:00
fix indentation
R=rsc OCL=28752 CL=28752
This commit is contained in:
parent
7aabf2d9b1
commit
6fa6f134f1
@ -70,12 +70,12 @@ import (
|
|||||||
// Errors returned during parsing and execution. Users may extract the information and reformat
|
// Errors returned during parsing and execution. Users may extract the information and reformat
|
||||||
// if they desire.
|
// if they desire.
|
||||||
type Error struct {
|
type Error struct {
|
||||||
Line int;
|
Line int;
|
||||||
Msg string;
|
Msg string;
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *Error) String() string {
|
func (e *Error) String() string {
|
||||||
return fmt.Sprintf("line %d: %s", e.Line, e.Msg)
|
return fmt.Sprintf("line %d: %s", e.Line, e.Msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Most of the literals are aces.
|
// Most of the literals are aces.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user