From: Jim Weirich Date: 2005-04-27T11:50:20+09:00 Subject: Re: Is Ruby grammar context free? On Tuesday 26 April 2005 05:26 pm, Jon A. Lambert wrote: > I just noticed it also breaks operator continuation. > Assuming your myfunc returned a string.. > > This is a syntax error. > > myfunc(<<"THIS", 23, <<'THAT') + > "moo" > Here's a line > or two. > THIS > and here's another. > THAT Try this: myfunc(<<"THIS", 23, <<'THAT') + Here's a line or two. THIS and here's another. THAT "moo" -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)