gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anonymous type completion error


From: john o goyo
Subject: Anonymous type completion error
Date: Fri, 17 May 2024 20:11:59 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Continuing with my last gm2-git and gm2-14.1.0, here is a small piece of the MCP3IO module from the Lilith compiler:

MODULE partMCP3IO;

TYPE Savepos;

  MODULE OutputSystem;

    EXPORT Savepos;

    TYPE Savepos = CARDINAL;

  END OutputSystem;

END partMCP3IO.


Original names left in.  Presumably this is valid PIM code as it is part of the Lilith compiler.  Gm2 reports the following error:

partMCP3IO.mod:3:13: warning: In program module : syntax warning, missing
    3 | TYPE Savepos;
      |             ^
partMCP3IO.mod:3:13: error: expecting one of:
partMCP3IO.mod:17:1: error: no scope active: compilation failed


Sincerely,
jog



reply via email to

[Prev in Thread] Current Thread [Next in Thread]