Commit Graph

5371 Commits

Author SHA1 Message Date
michael
c087aff3b2 * Added support for C-style assignments
git-svn-id: trunk@22135 -
2012-08-19 21:57:55 +00:00
michael
8019634104 * Class parsing tests (preparing for nested types)
git-svn-id: trunk@22131 -
2012-08-19 16:45:44 +00:00
michael
a665785b93 * Fixed warnings/hints
git-svn-id: trunk@22130 -
2012-08-19 16:40:52 +00:00
michael
42391199af * Remove ParseExpression, changed everywhere to DoParseExpression
* Fix handling of procedure modifiers
* Solved all hints/warnings

git-svn-id: trunk@22129 -
2012-08-19 16:36:26 +00:00
Jonas Maebe
1c80388e00 * fixed missing pointer dereference of parameter passed to move()
(patch by ocean, mantis #22670)

git-svn-id: trunk@22122 -
2012-08-19 09:44:56 +00:00
tom_at_work
7c56a9f34d Revert r22080 because it prevents crosscompilation.
git-svn-id: trunk@22101 -
2012-08-16 21:24:47 +00:00
Jonas Maebe
e06d3a6e04 * raise an error when locate is used on a closed dataset (patch by
Claudio Romero, mantis #13938)

git-svn-id: trunk@22098 -
2012-08-16 17:53:09 +00:00
michael
b26797e818 * Fixed memory leak in classes with interfaces
git-svn-id: trunk@22094 -
2012-08-15 16:14:09 +00:00
michael
9af6f49c02 * Finished try/except statements
git-svn-id: trunk@22088 -
2012-08-15 15:02:05 +00:00
michael
0801287956 * Adapted tests to use expression objects where needed
git-svn-id: trunk@22085 -
2012-08-15 12:21:52 +00:00
michael
06b092280e * Use expression objects in case and constants
git-svn-id: trunk@22084 -
2012-08-15 12:21:22 +00:00
michael
e9a339448a * Better Except handling
git-svn-id: trunk@22083 -
2012-08-15 10:52:21 +00:00
michael
4c47beb7b7 * Reworked raise parsing, now also supports raise X at Addr
git-svn-id: trunk@22082 -
2012-08-15 09:01:11 +00:00
tom_at_work
7b6bcd315f Pass FPCOPT to fpmkunit and fpmake compilation. This prevents build errors of these programs if the given FPCOPT options of the previously compiled RTL are incompatible to default options. Regenerated associated makefiles.
git-svn-id: trunk@22080 -
2012-08-14 19:09:17 +00:00
michael
1b10dfbc26 * Use HTTP delimiters for locations
git-svn-id: trunk@22071 -
2012-08-13 11:44:01 +00:00
michael
3418ba156e * Retry opening session file on error (max 5 times)
git-svn-id: trunk@22070 -
2012-08-13 11:43:16 +00:00
michael
a43d433081 * Fixed to take expressions into account
git-svn-id: trunk@22053 -
2012-08-09 19:31:36 +00:00
michael
647bd0ec1c * Case statement tests
git-svn-id: trunk@22052 -
2012-08-09 19:24:37 +00:00
michael
e4758e3cd1 * Case statement labels are now expressions
git-svn-id: trunk@22051 -
2012-08-09 19:24:02 +00:00
michael
8ed3408527 * with statement tests
git-svn-id: trunk@22031 -
2012-08-07 21:16:19 +00:00
michael
874a1f4304 * Use expressions in with statement
git-svn-id: trunk@22030 -
2012-08-07 21:16:01 +00:00
michael
5a57943320 * Tests for loop structures
git-svn-id: trunk@22029 -
2012-08-07 20:58:03 +00:00
michael
e1dead6a1c Conditions in for/while/repeat are now expression elements
git-svn-id: trunk@22028 -
2012-08-07 20:57:35 +00:00
michael
2889f22b40 * IF condition expression is now a real expression, not a string
git-svn-id: trunk@22006 -
2012-08-04 09:16:54 +00:00
michael
b867010691 * Test cases for types, var, const, resource string. Start of statement tests
git-svn-id: trunk@22005 -
2012-08-04 08:48:23 +00:00
marco
f52c55ea59 * fixed a copy and paste typo as indicated by Ocean Mantis #22559
git-svn-id: trunk@22001 -
2012-08-03 12:24:11 +00:00
michael
7976add94b * Added ParseFiles
git-svn-id: trunk@21977 -
2012-07-27 11:41:44 +00:00
Jonas Maebe
16974d2f08 * empty result of IntParseString() in case the input is empty, fixes double
output lines in generated config files by fpcmkcfg such as mentioned in
    mantis #22505
   

git-svn-id: trunk@21969 -
2012-07-25 11:49:09 +00:00
joost
8703a15a83 * Patch from Dimitrios Chr. Ioannidis to fix error-message, bug #22503
git-svn-id: trunk@21967 -
2012-07-24 21:31:43 +00:00
joost
dde026f5d1 * Reverted file accidentally committed in r21957
git-svn-id: trunk@21960 -
2012-07-23 21:13:09 +00:00
joost
160c2fec65 * Use fpmkunit in the fppkg package, to avoid double code.
This also adds (among others) iphonesim support to fppkg

git-svn-id: trunk@21959 -
2012-07-23 20:56:09 +00:00
joost
7b13c9230d * Renamed TLogLevel vl** enumerations to ll**, to avoid
conflicts with fpmkunits TVerboseLevel

git-svn-id: trunk@21957 -
2012-07-23 20:13:19 +00:00
michael
5b3026d0ce * Keep variable information in a more structured way
git-svn-id: trunk@21946 -
2012-07-22 14:57:30 +00:00
michael
1c894ba71d * Fixed last known access violations
git-svn-id: trunk@21942 -
2012-07-21 08:54:35 +00:00
michael
34c126a2d0 * Fix access violation in case statement
git-svn-id: trunk@21939 -
2012-07-19 16:39:01 +00:00
michael
cd01ae3bd0 * Fixed compilation and finalization
git-svn-id: trunk@21938 -
2012-07-19 06:29:38 +00:00
michael
f5e36a8510 * Fixed memory leak with unary expressions
git-svn-id: trunk@21934 -
2012-07-17 23:43:25 +00:00
michael
f6662b7f3c * Fixed memory leak
git-svn-id: trunk@21933 -
2012-07-17 23:18:03 +00:00
michael
09275660d8 * Fix access violation when file not found. Better GetCurColumn
git-svn-id: trunk@21932 -
2012-07-17 22:47:04 +00:00
michael
60022280f0 * Test case for undefine and define
git-svn-id: trunk@21931 -
2012-07-17 22:39:22 +00:00
michael
8b8ccb9e05 * Fixed $UNDEF
git-svn-id: trunk@21930 -
2012-07-17 22:38:04 +00:00
michael
113c97a306 * Some more reference count fixes
git-svn-id: trunk@21929 -
2012-07-17 21:51:13 +00:00
michael
a4be3f17d7 * Fixed release problem and except (reported by Seth Grover)
git-svn-id: trunk@21922 -
2012-07-16 20:52:22 +00:00
michael
955a90c4db * Time is in 24 hours time
git-svn-id: trunk@21920 -
2012-07-16 13:24:23 +00:00
michael
7a1d4dfe72 * Fix parsing uses unit in filename, added library parsing and exports sections
git-svn-id: trunk@21915 -
2012-07-15 16:55:18 +00:00
michael
607b86f582 * Parse program without program header and with complete header
git-svn-id: trunk@21910 -
2012-07-13 18:17:52 +00:00
michael
f32b9fd572 * Use container to create statement elements so they get sourcefile information
git-svn-id: trunk@21909 -
2012-07-13 13:37:39 +00:00
pierre
edcb02b571 Use need system macro FPC_LOCALS_ARE_STACK_REG_RELATIVE for mips support
git-svn-id: trunk@21898 -
2012-07-12 09:15:20 +00:00
michael
8e00e50965 * Fix 64-bit compilation (Bug ID 21874)
git-svn-id: trunk@21892 -
2012-07-12 08:42:06 +00:00
pierre
bf8ec92b5c * Use two parameter get_caller_frame function to get correct result on mips
git-svn-id: trunk@21888 -
2012-07-11 22:17:37 +00:00