summaryrefslogtreecommitdiff
path: root/src/cmd/yacc/expr.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/yacc/expr.y')
-rw-r--r--src/cmd/yacc/expr.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/yacc/expr.y b/src/cmd/yacc/expr.y
index 3afffe7ee..77e9259da 100644
--- a/src/cmd/yacc/expr.y
+++ b/src/cmd/yacc/expr.y
@@ -125,7 +125,7 @@ func (x *exprLex) Lex(yylval *exprSymType) int {
case 'รท':
return '/'
- case ' ', '\t', '\n':
+ case ' ', '\t', '\n', '\r':
default:
log.Printf("unrecognized character %q", c)
}