Compiler/lexical analyzer: Difference between revisions

m
→‎{{header|Ada}}: Fixed minor syntax highlighting error
No edit summary
m (→‎{{header|Ada}}: Fixed minor syntax highlighting error)
Line 467:
when Operator | Symbol | Keyword | End_of_input => IO.Put_Line(tok'Image);
when Token_Integer => IO.Put_Line("INTEGER" & ASCII.HT & text);
when Token_String => IO.Put_Line("STRING" & ASCII.HT & '"'ASCII.Quotation & text & '"'ASCII.Quotation);
when Identifier => IO.Put_Line(tok'Image & ASCII.HT & text);
when Empty_Char_Error => raise_error("empty character constant");
6

edits