Tom Lane
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.
24 years ago
Peter Eisentraut
b0c3c48eb3
Assemble portability modules into libpgport library.
...
Some makefile simplifications.
24 years ago
Michael Meskes
4be24fe88f
Fixed some minor typos.
24 years ago
Michael Meskes
2297f3982b
Re-Committed old file.
24 years ago
Michael Meskes
a58930bbd5
Synced parser yet again.
...
Michael
24 years ago
Bruce Momjian
b9104e3a97
Remove certain Makefile dependencies by using full pathnames in
...
configure.in.
24 years ago
Michael Meskes
a3ec44a5d3
Commit old versions into main branch again.
...
Michael
24 years ago
Michael Meskes
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
24 years ago
Bruce Momjian
d84fe82230
Update copyright to 2002.
24 years ago
Michael Meskes
2fabb99388
Fixed parser bug concerning octal numbers in single quotes.
24 years ago
Michael Meskes
0f865e17e2
Applied Lee Kindness' patch to fix one of memory allocation with floating point numbers.
24 years ago
Jan Wieck
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
24 years ago
Michael Meskes
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.
24 years ago
Michael Meskes
f35ced3de9
- Fixed reduce/reduce conflict in parser.
...
- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keywords.c.
24 years ago
Michael Meskes
c8996f9c6b
- Synced yet again.
...
- Fixed a typo in a comment printed by ecpg.
24 years ago
Michael Meskes
75c33220ad
Synced preproc.y and keywords.c.
24 years ago
Thomas G. Lockhart
3fab49325d
Include stdio.h and stdlib.h for completeness.
24 years ago
Peter Eisentraut
ff4281472a
Add missing include.
24 years ago
Michael Meskes
cc592ed8ea
Fixed typo in preproc/type.h
24 years ago
Michael Meskes
70fb71f487
- Synced preproc.y with gram.y
...
- Fixed one bug in structure handling resulting in using sizeof indicator instead of variable.
24 years ago
Bruce Momjian
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
24 years ago
Tom Lane
5eed835b9a
Indenting #if commands is not portable, is it?
24 years ago
Tom Lane
6137ed1b59
Fix minor syntax error.
24 years ago
Michael Meskes
73b92d10c6
Added typedef patches and a new option '-c' to automatically create C typedefs from SQL ones.
24 years ago
Michael Meskes
8e9b215fdf
Just one more test case.
24 years ago
Bruce Momjian
f5810bb8a5
Add missing trailing semicolons to ecpg rules.
...
Neil Conway
24 years ago
Bruce Momjian
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.
24 years ago
Michael Meskes
9f9e3c9803
Changed the version numbers, but did not commit the Makefiles.
24 years ago
Michael Meskes
7f7fb4e64c
Fixed two bugs in define command in pgc.l
24 years ago
Bruce Momjian
ee27436f6c
Disable brackets in multi-statement rules, as discussed.
24 years ago
Michael Meskes
5ca7c8e314
Synced parser with backend.
24 years ago
Bruce Momjian
92288a1cf9
Change made to elog:
...
o Change all current CVS messages of NOTICE to WARNING. We were going
to do this just before 7.3 beta but it has to be done now, as you will
see below.
o Change current INFO messages that should be controlled by
client_min_messages to NOTICE.
o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc.
to always go to the client.
o Remove INFO from the client_min_messages options and add NOTICE.
Seems we do need three non-ERROR elog levels to handle the various
behaviors we need for these messages.
Regression passed.
24 years ago
Peter Eisentraut
0055a39390
Add -Wno-error to CFLAGS, so the rest of the tree can compile with
...
-Werror.
24 years ago
Peter Eisentraut
673b48becb
Remove warning about automatic inclusion of sqlca.
24 years ago
Michael Meskes
cb8961ab47
Added patch to temporarily disable locale for descriptors too (Christof)
24 years ago
Michael Meskes
2ab3a88879
Accept subsequent commits. This should have been just a warning anyway. I
...
cannot see a reason why it should be an error.
24 years ago
Tom Lane
eab6776358
Ensure that ecpg/test is cleaned by higher-level 'make clean'.
24 years ago
Michael Meskes
7138a1e5fc
- Fixed variable handling for struct members.
...
- Removed check for array input. An attribut might store the
complete array.
24 years ago
Michael Meskes
051a4f233f
Added Christof's fixes.
24 years ago
Michael Meskes
7955f98774
Include sqlca.h automatically.
24 years ago
Tom Lane
92a2598f97
The result of getopt() should be compared to -1, not EOF, per
...
pgsql-hackers discussion of this date.
24 years ago
Tom Lane
d079c419d2
Fix include paths for case of VPATH build.
24 years ago
Tom Lane
a34f313223
Fix copy-and-paste mistake exposed by gcc warning.
24 years ago
Peter Eisentraut
154ccb6040
Revert last change (CFLAGS+=-g). Probably was a mistake...
24 years ago
Tom Lane
61dd8b6dc4
Remove shift/reduce conflicts introduced by last change.
24 years ago
Michael Meskes
1e15f9e119
Fixed array pointers, no longer using void * in arithmetics.
24 years ago
Michael Meskes
54452833ef
Fixed parser to accept initializing expressions starting with "(".
24 years ago
Peter Eisentraut
731204e090
Editorial review
24 years ago
Michael Meskes
988fdce5d1
- Removed space_or_nl and line_end from pgc.l.
...
- Fixed several bugs concerning arrays of structs including a memory
allocation bug.
24 years ago
Michael Meskes
0a7a8256b8
committed the missing files
24 years ago