[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-23 Thread Seth Grover
> Fixed, plus a couple of others as well. Revision 21942. > Thanks, it's a great help. > Michael. I pulled the latest this morning and ran it over my whole project (about 140 units, 600,000-ish lines of code) and didn't get any more segfaults and it seems like all the information I'm pulling out o

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-21 Thread Michael Van Canneyt
On Thu, 19 Jul 2012, Seth Grover wrote: Fixed. It seems that using the heaptrc unit masks some access violations. Michael. Good to know. That fix seemed to work, but there's an issue with having an "else" in a case statement. If you remove the else it works. Fixed, plus a couple of others

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-19 Thread Seth Grover
> Fixed. > It seems that using the heaptrc unit masks some access violations. > Michael. Good to know. That fix seemed to work, but there's an issue with having an "else" in a case statement. If you remove the else it works. == unit timelib; {$mode objfpc}{$H+} interface

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-19 Thread Michael Van Canneyt
On Wed, 18 Jul 2012, Seth Grover wrote: Hm, it's still failing for me. Here's what I get with test_parser from examples given this input: === unit timelib; {$mode objfpc}{$H+} interface implementation procedure SmonthToCmonth (const sMonth

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-18 Thread Michael Van Canneyt
On Wed, 18 Jul 2012, Seth Grover wrote: Hm, it's still failing for me. Here's what I get with test_parser from examples given this input: [] I'm doing it in Linux compiling for x86_64. There wouldn't be any problem with me using this package source (pastree, paswrite, pparser, pscanner) w

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-18 Thread Seth Grover
Hm, it's still failing for me. Here's what I get with test_parser from examples given this input: === unit timelib; {$mode objfpc}{$H+} interface implementation procedure SmonthToCmonth (const sMonth : array of char; c

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-18 Thread Seth Grover
> Works fine here. > Michael. Hm, that's odd. I'll do a clean pull and clean build and let you know. Thanks. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental. Seth Grover ___ fpc-pascal ma

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-18 Thread Michael Van Canneyt
On Wed, 18 Jul 2012, Seth Grover wrote: Michael, I pulled down your latest revision (21934) which did fix the problems I had reported. Thanks! I did find another one for you: unit timelib; {$mode objfpc}{$H+} interface implementation procedure Smo

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-18 Thread Seth Grover
Michael, I pulled down your latest revision (21934) which did fix the problems I had reported. Thanks! I did find another one for you: unit timelib; {$mode objfpc}{$H+} interface implementation procedure SmonthToCmonth (const sMonth : array of char;

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-17 Thread Michael Van Canneyt
On Tue, 17 Jul 2012, Seth Grover wrote: Also, it looks like it gets a segfault if you try to $include a file that can't be found. Fixed in rev. 21932. Uninitialized result. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-17 Thread Michael Van Canneyt
On Tue, 17 Jul 2012, Seth Grover wrote: I ran into another problem scenario, dealing with $include'd files. Given these two files: I get an error like this: Syntax error at token "EOF" in file iputils.pas at line 21 column -7202378 line:21 column:-7202378 file:iputils.pas Fixed. Undefine

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-17 Thread Michael Van Canneyt
On Mon, 16 Jul 2012, Seth Grover wrote: I should have fixed both problems you found. Please test, rev 21922. Michael. It did fix those problems, but there's still a problem in the release given the following unit with a finalization section: === unit

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-17 Thread Seth Grover
Also, it looks like it gets a segfault if you try to $include a file that can't be found. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental. Seth Grover ___ fpc-pascal maillist - fpc-pasca

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-17 Thread Seth Grover
I ran into another problem scenario, dealing with $include'd files. Given these two files: ==iputils.pas unit iputils; {$mode objfpc}{$H+} interface {$define IPv6_Types} {$include ip.inc} {$undef IPv6_Types} {$define IPv6_Interface} {$in

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-16 Thread Seth Grover
> I should have fixed both problems you found. Please test, rev 21922. > Michael. It did fix those problems, but there's still a problem in the release given the following unit with a finalization section: === unit testlib; interface implementation final

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-16 Thread Michael Van Canneyt
On Mon, 16 Jul 2012, Seth Grover wrote: I think I found another problem with the latest revision of fcl-passrc in svn trunk. I should have fixed both problems you found. Please test, rev 21922. Michael. ___ fpc-pascal maillist - fpc-pascal@lists

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-16 Thread Seth Grover
I think I found another problem with the latest revision of fcl-passrc in svn trunk. Given this source file as input to the test_parser program: === unit timelib; interface implementation procedure SortIndexHashTable; begin try except if (h <> nil) the

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-16 Thread Seth Grover
Michael wrote: > Please check revision 21909. > I haven't done much testing, because I didn't get to the test cases for > statements yet. Michael, I grabbed what's currently up in the svn trunk under fcl-passrc. I am getting the source filename and line number information now, so that's great. I

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-13 Thread Michael Van Canneyt
On Thu, 12 Jul 2012, Seth Grover wrote: Oversight, a bug. I am currently working on the parser, I'll look into this. Michael. Thanks, I appreciate it. Please check revision 21909. I haven't done much testing, because I didn't get to the test cases for statements yet. Michael. _

[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-12 Thread Seth Grover
> Oversight, a bug. > I am currently working on the parser, I'll look into this. > Michael. Thanks, I appreciate it. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental. Seth Grover ___ fpc-p