Clean up ecpg's use of mmerror(): const-ify the format argument, add an
Tom Lane <tgl@sss.pgh.pa.us>
Clean up ecpg's use of mmerror(): const-ify the format argument, add an __attribute__() marker so that gcc can validate the format string against the actual arguments, get rid of overcomplicated and unsafe usage in base_yyerror().
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/preproc/ecpg.header | modified | +2 −2 |
| src/interfaces/ecpg/preproc/ecpg.trailer | modified | +4 −7 |
| src/interfaces/ecpg/preproc/extern.h | modified | +4 −2 |