mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +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:
|
||||
Bputrune(faction, c);
|
||||
while(c = Bgetrune(finput)) {
|
||||
while((c = Bgetrune(finput)) >= 0) {
|
||||
if(c == '\\') {
|
||||
Bputrune(faction, c);
|
||||
c = Bgetrune(finput);
|
||||
|
|
Loading…
Reference in a new issue