mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
cmd/yacc: check for EOF in string constant in cpyact
Change-Id: I3b41ab3f181080bcff89201d30f0bdf8aa20d55c
This commit is contained in:
parent
4a3f20bcee
commit
d2fae53d17
1 changed files with 1 additions and 1 deletions
|
@ -2124,7 +2124,7 @@ swt:
|
||||||
|
|
||||||
string:
|
string:
|
||||||
Bputrune(faction, c);
|
Bputrune(faction, c);
|
||||||
while(c = Bgetrune(finput)) {
|
while((c = Bgetrune(finput)) >= 0) {
|
||||||
if(c == '\\') {
|
if(c == '\\') {
|
||||||
Bputrune(faction, c);
|
Bputrune(faction, c);
|
||||||
c = Bgetrune(finput);
|
c = Bgetrune(finput);
|
||||||
|
|
Loading…
Reference in a new issue