[fpc-devel] divide bcd's
LacaK
lacak at zoznam.sk
Mon Jun 27 08:18:14 CEST 2011
- Previous message (by thread): [fpc-devel] divide bcd's
- Next message (by thread): [fpc-devel] Hi listers, , , , I am trying to translate a C header with H2PAS, however, I have nver done it, so the difficulties are meaningful., , I am blind, I use screen readers and IUP is the single graphical interface library accessible to program with a screen reader and to navigate in the output dialogs. As my purpose is not to produce beautiful windows, my public will be blind or visually impaired people, users of screen readers, for me, it's wonderful to use IUP to create my dialogs.,,I have tested IUP with Lua. This library is really what I want. But I would like to use IUP with Pascal, but unfortunately there's no a IUP binding for Pascal. Now, it's time to do it and I want to be successful in this task., , I am rying to translate headers with this commandline:, , h2pas -d {C file name},,With this command, I translated the first one. Now I am trying to translate iupkey.h, but I am not able to identify the errors., , After "h2pas -d iupkey.h", I got the following message, but I could not interprete It. What is wrong? Regarding the source code is downloaded from the official website, why have I sintax errors? Illegal characters? Why?, , at line 21 error : syntax error,at line 41 error : syntax error,Illegal character in line 45, "#define K_at '@' /* 64 */", Illegal character in line 73, "#define K_backslash '\\' /* 92 */", Illegal character in line 73, "#define K_backslash '\\' /* 92 */",Illegal character in line 75,"#define K_circum '^' /* 94 */",Illegal character in line 77,"#define K_grave '`' /* 96 */", Illegal character in line 113, "#define K_BS '\b' /* 8 */", Illegal character in line 114, "#define K_TAB '\t' /* 9 */", Illegal character in line 115,"#define K_LF '\n' /* 10 (0x0A) not a real key, is a combination of CR with a modifier, just to document */", Illegal character in line 116,"#define K_CR '\r' /* 13 (0x0D) */",LexLib: yytext overflow, , , , The C source is attached., , Thank ou in advance, any help is welcome!, , Luciano
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
To not forget, I have reported it also in bug tracker
http://bugs.freepascal.org/view.php?id=19636
-Laco.
> Hi Joost,
> try attached patch. For me it works as expected.
> -Laco.
>> Maybe someone else can.
>>
>> If not, I think we should rewrite the whole function.
>>
>> Joost.
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110627/7a965b5d/attachment.html>
- Previous message (by thread): [fpc-devel] divide bcd's
- Next message (by thread): [fpc-devel] Hi listers, , , , I am trying to translate a C header with H2PAS, however, I have nver done it, so the difficulties are meaningful., , I am blind, I use screen readers and IUP is the single graphical interface library accessible to program with a screen reader and to navigate in the output dialogs. As my purpose is not to produce beautiful windows, my public will be blind or visually impaired people, users of screen readers, for me, it's wonderful to use IUP to create my dialogs.,,I have tested IUP with Lua. This library is really what I want. But I would like to use IUP with Pascal, but unfortunately there's no a IUP binding for Pascal. Now, it's time to do it and I want to be successful in this task., , I am rying to translate headers with this commandline:, , h2pas -d {C file name},,With this command, I translated the first one. Now I am trying to translate iupkey.h, but I am not able to identify the errors., , After "h2pas -d iupkey.h", I got the following message, but I could not interprete It. What is wrong? Regarding the source code is downloaded from the official website, why have I sintax errors? Illegal characters? Why?, , at line 21 error : syntax error,at line 41 error : syntax error,Illegal character in line 45, "#define K_at '@' /* 64 */", Illegal character in line 73, "#define K_backslash '\\' /* 92 */", Illegal character in line 73, "#define K_backslash '\\' /* 92 */",Illegal character in line 75,"#define K_circum '^' /* 94 */",Illegal character in line 77,"#define K_grave '`' /* 96 */", Illegal character in line 113, "#define K_BS '\b' /* 8 */", Illegal character in line 114, "#define K_TAB '\t' /* 9 */", Illegal character in line 115,"#define K_LF '\n' /* 10 (0x0A) not a real key, is a combination of CR with a modifier, just to document */", Illegal character in line 116,"#define K_CR '\r' /* 13 (0x0D) */",LexLib: yytext overflow, , , , The C source is attached., , Thank ou in advance, any help is welcome!, , Luciano
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fpc-devel
mailing list