| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za> |
| Cc: | "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgreSQL(dot)org> |
| Subject: | Re: [HACKERS] Query length string |
| Date: | 1999-08-11 14:56:03 |
| Message-ID: | 7707.934383363@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za> writes:
> I have gotten as far as the tcop, now I need some help as far as
> yacc(bison?) goes. Yacc seems to use an input buffer called YY_BUFFER or
> something, which appears to be a fixed length string. Does anybody have any
> idea how I go about changing this so that I can pass a char * which I have
> allocated (apart from reading the manual, I'm looking for the 'technical
> summary' ;-)?
I think you will have to hold your nose and read the manual --- but in
flex it looks like yy_scan_string() is what you want... I dunno whether
plain lexes have such a thing, but we effectively require flex anyway...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 1999-08-11 15:04:11 | Re: [HACKERS] Crisp text editor [definitely OT] |
| Previous Message | Bruce Momjian | 1999-08-11 14:19:35 | Re: [HACKERS] Crisp text editor [definitely OT] |