8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 11:23:02 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
robocop
5ee6bf66b6 1.- Style.
2.- Cleanup.
3.- Fix what I assume may cause astray behavior. Only an inept could create an enumeration in Lex.h like this
enum TokenType {
	END_OF_STREAM,
	PUNCT,
	NAME,
to be used in the data member tokenType but at the same time, create preprocessor macros like this
#define WHITE	1
#define PUNCT	2
to be stored and retrieved by
char charTableArray [256]
to calculate the character class (punctuation, spaces, etc) in the Lexer,
where the macro PUNCT (value 2) overrides the enum member PUNCT (value 1) and that inconsistent value is used in both tasks, causing PUNCT to be interpreted as tokenType being NAME (value 2 in the enum). Since this module has several bugs, maybe all the bugs cancel among themselves and all works as expected, but it would be pure luck.
2008-04-29 11:05:11 +00:00
alexpeshkoff
c0a472d65e 1. Replaced JString (and some plain char[] buffers) with Firebird::string.
2. Make memory allocations look (and wrok) in current firebird style.
3. Fixed vararg usage problem on amd64/linux in AdminException.
2008-04-24 15:49:43 +00:00
robocop
7333e03c17 More encapsulation, bring some order, fix some B.O. cases, etc. 2008-04-20 11:46:02 +00:00
robocop
60802a9d77 Fix the most obvioius problems:
- style (few fixes only)
- constness
- total lack of encapsulation (all data members exposed in the interface).
2008-04-20 10:40:58 +00:00
asfernandes
ca0630eef4 Misc 2006-06-15 01:53:25 +00:00
asfernandes
68deb72e2d Don't access negative elements in array 2006-06-05 13:01:14 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00