A manual problem about quoted string

2011-05-31 Thread wu liang
Sir, In the chapter 5, there is example as: -- define(`foo’, `This is macro `foo’.’) The ‘foo’ in the expansion text is not expanded, since it is a quoted string, and not a name. -- However, according to my test, this will cause infini

Re: A manual problem about quoted string

2011-05-31 Thread Eric Blake
On 05/31/2011 09:38 AM, wu liang wrote: > Sir, > In the chapter 5, there is example as: > -- > define(`foo’, `This is macro `foo’.’) > The ‘foo’ in the expansion text is not expanded, since it is a quoted > string, and not a name. > --

Re: A manual problem about quoted string

2011-05-31 Thread Eric Blake
[re-adding the list, for closure] On 05/31/2011 11:22 AM, wu liang wrote: > Sorry for this wrong report. It's careless typo replacing ` with ' in > the test script. > As this: > > define(`foo',`This is macro 'foo'') > foo > Glad to hear yo