mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
Update confidence tests for arg handling move. Remove unused vars in Platform.
This commit is contained in:
parent
299b0636ad
commit
c65b89daf3
4 changed files with 4 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
MODULE Lola; (* Command line runner for Lola to verilog compilation *)
|
||||
IMPORT LSB, LSC, LSV, Platform, Console;
|
||||
IMPORT LSB, LSC, LSV, Modules, Console;
|
||||
BEGIN
|
||||
IF Platform.ArgCount < 3 THEN
|
||||
IF Modules.ArgCount < 3 THEN
|
||||
Console.String("Lola - compile lola source to verilog source."); Console.Ln; Console.Ln;
|
||||
Console.String("usage:"); Console.Ln; Console.Ln;
|
||||
Console.String(" lola lola-source-file verilog-source-file"); Console.Ln; Console.Ln;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
(* Test that interrupt and quit are handled correctly. *)
|
||||
MODULE SignalTest;
|
||||
IMPORT Console, Platform, Files, SYSTEM;
|
||||
IMPORT Console, Platform, Modules, Files, SYSTEM;
|
||||
|
||||
VAR result: Files.File; rider: Files.Rider;
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ END Take5;
|
|||
BEGIN
|
||||
result := Files.New("result");
|
||||
Files.Set(rider, result, 0);
|
||||
IF Platform.ArgCount > 1 THEN
|
||||
IF Modules.ArgCount > 1 THEN
|
||||
Platform.SetInterruptHandler(handle);
|
||||
Platform.SetQuitHandler(handle)
|
||||
END;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue