|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 802 (0x322)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
separate (Parse)
procedure Parse_Variable (Ok : out Boolean;
The_Node : out Abstract_Tree.P_Node) is
begin
Ok := True;
Text_Io.Put_Line ("parse_variable");
case Lex.Get_Token is
when L_Id =>
if Symbol_Table.Is_Visible (Lex.Get_Value) then
The_Node := Abstract_Tree.Make_Foliage (L_Id, Lex.Get_Value);
else
Error.Found;
end if;
Lex.Next;
when L_Nbr =>
The_Node := Abstract_Tree.Make_Foliage
(L_Nbr, Natural'Value (Lex.Get_Value));
Lex.Next;
when others =>
The_Node := Abstract_Tree.Empty_Node;
Ok := False;
end case;
Text_Io.Put_Line ("fin parse_variable");
end Parse_Variable;