Re: errors when there is a bit literal in ecpg

2020-11-07 Thread Tom Lane
"Wang, Shenhao" writes: > I met an error as below when I use ecpg > a.pgc:5: ERROR: invalid bit string literal > a.pgc:5: ERROR: internal error: unreachable state; please report this to > Indeed. This has apparently been broken for a very long time (though the "unreachable state" part is fair

errors when there is a bit literal in ecpg

2020-11-06 Thread Wang, Shenhao
Hi, hacker I met an error as below when I use ecpg a.pgc:5: ERROR: invalid bit string literal a.pgc:5: ERROR: internal error: unreachable state; please report this to the test source is attached. After investigating the code, I think the process of pgc.l is: Step 1: {xbstart}, addlitchar('b