8d33f80fc4
Suppress gcc warning.
2003-02-13 18:13:22 +00:00
1a9b0613c1
- Applied error reporting patch by Matthew Vanecek
...
- Started with an Informix compatibility option.
2003-02-13 13:11:52 +00:00
f8d8266ac5
Synced parser.
2003-01-21 20:01:12 +00:00
88d639e6e8
Protect from null param on ecpg disconnect, verified by Roland Karch
2002-12-13 20:29:07 +00:00
5587f077ab
While porting my TPC-C implementation from Oracle, I discovered the
...
attached problem with the EXEC SQL COMMIT RELEASE statement.
Roland Karch
2002-12-12 21:50:01 +00:00
6ca16d7b80
Bump version for 7.3 and 7.4.
2002-12-11 04:07:39 +00:00
5cdf45c6aa
Stamp minor version numbers for 7.4 release.
2002-12-04 18:14:11 +00:00
b4e334b6e6
Synced parser with backend
2002-11-27 08:30:27 +00:00
4bc3598aa4
Synced parser.
2002-11-15 15:47:44 +00:00
11c4f2d97d
Synced parser one more time.
2002-11-07 09:48:09 +00:00
df7201c3c5
Remove no-longer-needed inclusions to improve backward compatibility
...
with older bison versions.
2002-11-07 06:06:17 +00:00
cab9437a43
Arrange to compile flex output files as inclusions into other files
...
(usually bison output files), not as standalone files. This hack
works around flex's insistence on including <stdio.h> before we are
able to include postgres.h; postgres.h will already be read before
the compiler starts to read the flex output file. Needed for largefile
support on some platforms.
2002-11-01 22:52:34 +00:00
b91f9042b0
Add guards against double inclusion.
2002-10-21 18:53:20 +00:00
7a35d304e9
Remove obsoleted stuff merged in from branch.
2002-10-21 18:05:24 +00:00
cf8da4e9f0
Merged ecpg_big_bison back into HEAD
2002-10-21 13:09:31 +00:00
4cff161703
Improve formatting of --help output.
2002-10-18 22:05:36 +00:00
67ddac35db
Remove commas for compatibility with newer bisons.
2002-09-22 21:54:31 +00:00
e50f52a074
pgindent run.
2002-09-04 20:31:48 +00:00
460ee04956
Fix breakage introduced by evidently-completely-untested snprintf patch.
2002-09-02 14:43:14 +00:00
a12b4e279b
I checked all the previous string handling errors and most of them were
...
already fixed by You. However there were a few left and attached patch
should fix the rest of them.
I used StringInfo only in 2 places and both of them are inside debug
ifdefs. Only performance penalty will come from using strlen() like all
the other code does.
I also modified some of the already patched parts by changing
snprintf(buf, 2 * BUFSIZE, ... style lines to
snprintf(buf, sizeof(buf), ... where buf is an array.
Jukka Holappa
2002-09-02 06:11:43 +00:00
9f1fc1080e
Since we're depending on %option noyywrap in the main scanner now,
...
we may as well use it in all our flex files. Make all the flex files
have a consistent set of options.
2002-07-30 16:33:08 +00:00
b0c3c48eb3
Assemble portability modules into libpgport library.
...
Some makefile simplifications.
2002-07-27 20:10:05 +00:00
4be24fe88f
Fixed some minor typos.
2002-07-21 11:09:41 +00:00
2297f3982b
Re-Committed old file.
2002-07-21 08:20:07 +00:00
a58930bbd5
Synced parser yet again.
...
Michael
2002-07-20 08:24:18 +00:00
b9104e3a97
Remove certain Makefile dependencies by using full pathnames in
...
configure.in.
2002-07-15 21:34:05 +00:00
a3ec44a5d3
Commit old versions into main branch again.
...
Michael
2002-07-01 06:56:10 +00:00
9786223480
Committing parser changes. Note, however, that the development bison seems ot have a problem on my home machine. So these go in untested for the time being. But at least I have them in the archive.
...
Michael
2002-06-30 09:34:14 +00:00
d84fe82230
Update copyright to 2002.
2002-06-20 20:29:54 +00:00
2fabb99388
Fixed parser bug concerning octal numbers in single quotes.
2002-06-17 13:23:27 +00:00
0f865e17e2
Applied Lee Kindness' patch to fix one of memory allocation with floating point numbers.
2002-06-12 12:06:53 +00:00
469cb65aca
Katherine Ward wrote:
...
> Changes to avoid collisions with WIN32 & MFC names...
> 1. Renamed:
> a. PROC => PGPROC
> b. GetUserName() => GetUserNameFromId()
> c. GetCurrentTime() => GetCurrentDateTime()
> d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim
>
> 2. Added _P to some lex/yacc tokens:
> CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT
Jan
2002-06-11 13:40:53 +00:00
7f660adeb1
- Fixed some parser bugs.
...
- Removed some simple rules to work arounf bison limit for now.
- Update c_keywords.c to reflect changes in keywords.c.
2002-05-20 09:29:41 +00:00
f35ced3de9
- Fixed reduce/reduce conflict in parser.
...
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keywords.c.
2002-05-19 20:00:53 +00:00
c8996f9c6b
- Synced yet again.
...
- Fixed a typo in a comment printed by ecpg.
2002-04-28 17:20:03 +00:00
75c33220ad
Synced preproc.y and keywords.c.
2002-04-22 18:54:43 +00:00
3fab49325d
Include stdio.h and stdlib.h for completeness.
2002-04-21 19:51:44 +00:00
ff4281472a
Add missing include.
2002-04-20 03:46:16 +00:00
cc592ed8ea
Fixed typo in preproc/type.h
2002-04-16 07:03:56 +00:00
70fb71f487
- Synced preproc.y with gram.y
...
- Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
2002-04-14 08:59:16 +00:00
811f7df274
When a macro is replaced by the preprocessor, pgc.l reaches a end of
...
file, which is not the actual end of the file. One side effect of that
is that if you are i n a ifdef block, you get a wrong error telling you
that a endif is missing.
This patch corrects pgc.l and also adds a test of this problem to
test1.pgc. To convince you apply the patch to test1.pgc first then try
to compile the test the n apply the patch to pgc.l.
The patch moves the test of the scope of an ifdef block to the end of
the file b eeing parsed, including all includes files, ... .
Nicolas Bazin
2002-04-05 11:39:47 +00:00
5eed835b9a
Indenting #if commands is not portable, is it?
2002-03-24 18:22:21 +00:00
6137ed1b59
Fix minor syntax error.
2002-03-21 18:28:07 +00:00
73b92d10c6
Added typedef patches and a new option '-c' to automatically create C typedefs from SQL ones.
2002-03-21 09:42:52 +00:00
8e9b215fdf
Just one more test case.
2002-03-20 21:00:24 +00:00
f5810bb8a5
Add missing trailing semicolons to ecpg rules.
...
Neil Conway
2002-03-19 12:56:38 +00:00
efd45bc68f
Manually clean up indenting of ecpg lex/yacc files, OK'ed by Michael
...
Meskes. These files are not touched by pgindent so this has to be
manually done.
2002-03-15 21:46:59 +00:00
9f9e3c9803
Changed the version numbers, but did not commit the Makefiles.
2002-03-11 12:56:02 +00:00
7f7fb4e64c
Fixed two bugs in define command in pgc.l
2002-03-10 12:09:54 +00:00
ee27436f6c
Disable brackets in multi-statement rules, as discussed.
2002-03-10 06:00:15 +00:00