xfail scan-tree-dump-not throw in g++.dg/pr99966.C on hppa*64*-*-*
[official-gcc.git] / gcc / m2 / gm2-libs-iso / ConvTypes.def
blob87bce3ef9545ec18c08c2083793d12b59c108df1
1 (* Library module defined by the International Standard
2 Information technology - programming languages
3 BS ISO/IEC 10514-1:1996E Part 1: Modula-2, Base Language.
5 Copyright ISO/IEC (International Organization for Standardization
6 and International Electrotechnical Commission) 1996-2021.
8 It may be freely copied for the purpose of implementation (see page
9 707 of the Information technology - Programming languages Part 1:
10 Modula-2, Base Language. BS ISO/IEC 10514-1:1996). *)
12 DEFINITION MODULE ConvTypes;
14 (* Common types used in the string conversion modules *)
16 TYPE
17 ConvResults = (* Values of this type are used to express the format of a string *)
19 strAllRight, (* the string format is correct for the corresponding conversion *)
20 strOutOfRange, (* the string is well-formed but the value cannot be represented *)
21 strWrongFormat, (* the string is in the wrong format for the conversion *)
22 strEmpty (* the given string is empty *)
25 ScanClass = (* Values of this type are used to classify input to finite state scanners *)
27 padding, (* a leading or padding character at this point in the scan - ignore it *)
28 valid, (* a valid character at this point in the scan - accept it *)
29 invalid, (* an invalid character at this point in the scan - reject it *)
30 terminator (* a terminating character at this point in the scan (not part of token) *)
33 ScanState = (* The type of lexical scanning control procedures *)
34 PROCEDURE (CHAR, VAR ScanClass, VAR ScanState);
36 END ConvTypes.