mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 22:42:24 +00:00
added OptionChar to Oberon.Mod; -- noch
This commit is contained in:
parent
2beff88af5
commit
0d5e6da7dc
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ MODULE Oberon;
|
|||
(* this version should not have dependency on graphics -- noch *)
|
||||
|
||||
IMPORT Kernel, Texts, Args;
|
||||
|
||||
TYPE
|
||||
|
||||
ParList* = POINTER TO ParRec;
|
||||
|
|
@ -20,6 +19,7 @@ MODULE Oberon;
|
|||
Log*: Texts.Text;
|
||||
Par*: ParList; (*actual parameters*)
|
||||
W : Texts.Writer;
|
||||
OptionChar*: CHAR;
|
||||
(*clocks*)
|
||||
|
||||
PROCEDURE GetClock* (VAR t, d: LONGINT);
|
||||
|
|
@ -57,6 +57,7 @@ BEGIN
|
|||
NEW(Par);
|
||||
NEW(Par.text);
|
||||
Par.pos := 0;
|
||||
OptionChar := '-';
|
||||
Texts.Open(Par.text, "");
|
||||
PopulateParams;
|
||||
END Oberon.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue