mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 08:42:24 +00:00
parent
aae8083ca2
commit
699dcc56ae
2 changed files with 313 additions and 3 deletions
|
|
@ -40,11 +40,11 @@
|
|||
----------------------------------------------------------------------------
|
||||
*)
|
||||
|
||||
MODULE Operations;
|
||||
MODULE ulmOperations;
|
||||
|
||||
(* generic support of arithmetic operations *)
|
||||
|
||||
IMPORT Events, Objects, PersistentDisciplines, PersistentObjects, Services;
|
||||
IMPORT Events := ulmEvents, Objects := ulmObjects, PersistentDisciplines := ulmPersistentDisciplines, PersistentObjects := ulmPersistentObjects, Services := ulmServices;
|
||||
|
||||
CONST
|
||||
add* = 0; sub* = 1; mul* = 2; div* = 3; cmp* = 4;
|
||||
|
|
@ -231,4 +231,4 @@ MODULE Operations;
|
|||
BEGIN
|
||||
PersistentObjects.RegisterType(operandType,
|
||||
"Operations.Operand", "PersistentDisciplines.Object", NIL);
|
||||
END Operations.
|
||||
END ulmOperations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue