Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Jim Meyering
Sat, 27 May 1989 02:55
bison/yacc difference: bison doesn't recognize \-continued strings
Author: Jim Meyering
Date: Sat, 27 May 1989 02:55
Date: Sat, 27 May 1989 02:55
20 lines
839 bytes
839 bytes
Yacc accepts the following input, bison complains about
an unterminated string.
-----
%{
static char copyright[] = "Copyright....\
continued copyright\n";
%}
%%
foo: /* empty */
| foo '+'
;
%%
========
> % bison bb.y
> "bb.y", line 2: unterminated string
I have the same bison-1.01 that is on prep.ai.mit.edu today.
---
Jim Meyering meyering@cs.utexas.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads