diff --git a/cmd/goyacc/yacc.go b/cmd/goyacc/yacc.go index 062bc47e..d831f673 100644 --- a/cmd/goyacc/yacc.go +++ b/cmd/goyacc/yacc.go @@ -1412,8 +1412,7 @@ loop: if nnc == '/' { fcode.WriteRune('*') fcode.WriteRune('/') - c = getrune(finput) - break swt + continue loop } ungetrune(finput, nnc) }