@@ -434,12 +434,12 @@ func QuoteCppPath(path *paths.Path) string {
434
434
// is a string contained in double quotes, with any backslashes or
435
435
// quotes escaped with a backslash. If a valid string was present at the
436
436
// start of the given line, returns the unquoted string contents, the
437
- // remaineder of the line (everything after the closing "), and true.
437
+ // remainder of the line (everything after the closing "), and true.
438
438
// Otherwise, returns the empty string, the entire line and false.
439
439
func ParseCppString (line string ) (string , string , bool ) {
440
440
// For details about how these strings are output by gcc, see:
441
441
// https://github.com/gcc-mirror/gcc/blob/a588355ab948cf551bc9d2b89f18e5ae5140f52c/libcpp/macro.c#L491-L511
442
- // Note that the documentaiton suggests all non-printable
442
+ // Note that the documentation suggests all non-printable
443
443
// characters are also escaped, but the implementation does not
444
444
// actually do this. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51259
445
445
if len (line ) < 1 || line [0 ] != '"' {
0 commit comments