gnupic: Bug in GPAL 0.13.0 with functions


Previous by date: 28 Feb 2005 12:09:55 +0000 Re: [gnupic] dsPIC programmer and dumper, Scott Dattalo
Next by date: 28 Feb 2005 12:09:55 +0000 Re: [gnupic] Bug in GPAL 0.13.0 with functions, Andrew de Quincey
Previous in thread:
Next in thread:

Subject: Bug in GPAL 0.13.0 with functions
From: Andrew de Quincey ####@####.####
Date: 28 Feb 2005 12:09:55 +0000
Message-Id: <200502281209.54306.adq_dvb@lidskialf.net>

Hi, looks like a bug has crept in between 0.12.4 and 0.13.0:

test.pal:
module test is

  with p16f877;

  function testfunc(arg : in uint8) return uint8 is
  begin
    return 0;
  end function;

  procedure main is
    tmp : uint8;
  begin

    tmp = testfunc();

  end procedure;

end module;


test.pub:
public test is

end public;


compile command:
adq@monstrousfish ~/test $ gpal -p pic16f877 test.pal
p16f877.pub:6: warning: processor superseded by command line
gpal: analyze.c:291: test_symbol: Assertion `var->type != ((void *)0)' failed.
Aborted


This worked fine on 0.12.4. Or am I doing something stupid?

Previous by date: 28 Feb 2005 12:09:55 +0000 Re: [gnupic] dsPIC programmer and dumper, Scott Dattalo
Next by date: 28 Feb 2005 12:09:55 +0000 Re: [gnupic] Bug in GPAL 0.13.0 with functions, Andrew de Quincey
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.