Commit Graph

47 Commits

Author SHA1 Message Date
Michael VAN CANNEYT
a6b01f2b20 * Rework so scanner & lexer files do not contain actual code. Code is moved to scanbase and h2pbase units 2023-05-19 18:01:10 +02:00
Michaël Van Canneyt
bb182470a5 * Prepend T when writing pointer types and PrependTypes is set 2021-12-30 18:46:25 +01:00
Michaël Van Canneyt
f590e65c7b * out and var are reserved words 2021-12-30 18:40:08 +01:00
florian
81c5d63d4e * do not generate var paras for void* if -w is used, resolves #31425
git-svn-id: trunk@35475 -
2017-02-23 22:03:46 +00:00
florian
15537361ee * patch by "rs" to support lines longer than 255 chars in h2pas, resolves #15056
git-svn-id: trunk@29425 -
2015-01-06 15:16:18 +00:00
florian
d01824ab22 * prevent crash of h2pas if an unknown specifier is encountered, resolves #18664
git-svn-id: trunk@20136 -
2012-01-21 15:17:11 +00:00
florian
a710a7cf7f * translate short int into cshort, patch by barlone, resolves #20956
git-svn-id: trunk@19899 -
2011-12-28 17:49:08 +00:00
florian
782643789b * convert array declarations without size into pointers (as even the comment in the code says), resolves #10156
git-svn-id: trunk@15860 -
2010-08-20 08:22:14 +00:00
florian
636a59e1ae * write P'type' instead of ^'type' for function results, resolves #7561
git-svn-id: trunk@15837 -
2010-08-17 21:09:11 +00:00
florian
b4764ca98a * fixed very oldish case indention style
git-svn-id: trunk@15643 -
2010-07-26 20:13:53 +00:00
florian
0e074dc9f5 * when generating procedure variables in records, no_pop should be left as it is, other code takes care of it, resolves #17006
git-svn-id: trunk@15642 -
2010-07-26 20:09:58 +00:00
florian
81813fb64f * output style more like the coding style fpc sources commonly are using
git-svn-id: trunk@13823 -
2009-10-09 12:57:50 +00:00
florian
e17d6c1624 * handle postfix type declations in typedefs properly
* small indention fixes
* omit empty lines after TypeName

git-svn-id: trunk@13822 -
2009-10-09 12:37:33 +00:00
florian
41c5735b40 + handle unary plus
git-svn-id: trunk@13820 -
2009-10-09 12:03:48 +00:00
florian
bc9cffa739 * properties fixed
git-svn-id: trunk@13812 -
2009-10-06 12:04:09 +00:00
florian
dc92aceef7 * more naming duplicate unit names solved, reason is that COMPILER_UNITTARGETDIR used with make all requires this (all units end in one directory)
git-svn-id: trunk@11221 -
2008-06-12 21:51:35 +00:00
florian
e01e1c9476 * renamed lexlib and yacclib units to avoid name clashes with that ones from tply
git-svn-id: trunk@11220 -
2008-06-12 21:40:10 +00:00
florian
c91498ed65 * better support of float, resolves #11426
git-svn-id: trunk@11210 -
2008-06-07 10:41:42 +00:00
michael
83e9952ecf * Use dynlibs instead of dllfunc
git-svn-id: trunk@9224 -
2007-11-12 22:54:59 +00:00
michael
f3cc8354eb * Fixed compilation
git-svn-id: trunk@5652 -
2006-12-19 21:17:28 +00:00
micha
b1c1b6fd3d + generic implementation of list and map; adapt TList/TStringList to use it
git-svn-id: trunk@5624 -
2006-12-17 15:52:42 +00:00
florian
0fbedddd37 - ID tag removed
git-svn-id: trunk@5530 -
2006-12-02 18:27:26 +00:00
florian
ec74887552 * another patch from J. Peter Mugaas, fixes #7618 and #7615
git-svn-id: trunk@4959 -
2006-10-18 18:38:19 +00:00
florian
e0200f8fcb * patch from J. Peter Mugaas to fix #7616
git-svn-id: trunk@4945 -
2006-10-16 21:34:34 +00:00
michael
9a36c6d7a6 * Patch from Peter Mugaas to support use of CTypes unit
git-svn-id: trunk@4771 -
2006-10-02 20:51:24 +00:00
micha
08c3d44cea use the ctypes unit in h2pas (from jpetermugaas)
git-svn-id: trunk@4687 -
2006-09-22 21:12:07 +00:00
florian
2f9a952747 * better clean up
git-svn-id: trunk@960 -
2005-08-28 12:41:29 +00:00
florian
d94fa751e0 * basic parsing for bodies of C programs
git-svn-id: trunk@948 -
2005-08-27 12:58:09 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
cbfda37a26 + added -P:
allows to generate headers which load proc. dyn. from libs
2005-02-20 11:09:41 +00:00
carl
fad1c0f131 + support for creating packed records
* var parameter bugfixes
2004-09-08 22:21:41 +00:00
carl
31a3763f12 + bugfixes with C++ comments, they are now placed above the definition
* some bugfixes with the _label reserved word.
2004-08-13 02:35:29 +00:00
marco
835505d547 Patch from Christian Iversen. ioresult check when opening for output 2004-06-20 17:56:05 +00:00
michael
be03148a1e + Patch from Jeff Pohlmeyer to process empty structs 2003-02-13 22:20:24 +00:00
peter
952e80a72f * old logs removed and tabs fixed 2002-09-07 15:40:30 +00:00
florian
f86c568373 * support for enum enumtype enumvar; fixed
same for unions done
2001-12-17 23:34:58 +00:00
peter
efb19714f0 * more fixes that were still laying around 2001-04-10 21:22:37 +00:00
peter
8835bfd0c6 * big update, it now converts much more files without serious errors
+ h2pas preprocessor to remove specific defines from a .h file
    (you need to run h2paspp manual)
2000-12-27 21:59:58 +00:00
michael
b272ae1344 + Initial import 2000-07-13 10:16:21 +00:00
florian
deb19f0eb6 + implemented support for 64 bit int types
+ options are written now to output file
  * improved compact mode
  * fixed writing of variables
2000-04-01 20:19:37 +00:00
peter
a69a6856be * addition for another procvar style decl (not working correct yet) 2000-04-01 14:16:31 +00:00
michael
920a042079 + RemoveUNderscore now also does not add underscores to generated parameter names 2000-03-28 06:55:42 +00:00
peter
164e1c25e6 + -S, -T, -c modes added
* crash fixes
  * removed double opening of inputfile
2000-03-27 21:39:19 +00:00
peter
50684700d1 * log truncated 2000-02-09 16:44:14 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
peter
3a56cae749 * moved 1999-05-12 16:11:39 +00:00