- Timestamp:
- Aug 31, 2021, 5:09:59 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- 24ebddac
- Parents:
- ca83227
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/parseconfig.cfa
rca83227 rb0f225f 119 119 120 120 // Parse configuration from a file formatted in tabular (CS 343) style 121 [ * KVPairs ] parse_tabular_config_format( *const char config_file, size_t num_entries ) {121 [ * KVPairs ] parse_tabular_config_format( [] const char config_file, size_t num_entries ) { 122 122 // TODO: Change this to a unique_ptr when we fully support returning them (move semantics) 123 123 * KVPairs kv_pairs = new( num_entries ); -
libcfa/src/parseconfig.hfa
rca83227 rb0f225f 66 66 }; 67 67 68 void msg( Missing_Config_Entries *ex );68 [ void ] msg( * Missing_Config_Entries ex ); 69 69 70 70 exception Parse_Failure { … … 73 73 }; 74 74 75 void msg( Parse_Failure *ex );75 [ void ] msg( * Parse_Failure ex ); 76 76 77 77 exception Validation_Failure { … … 80 80 }; 81 81 82 void msg( Validation_Failure *ex );82 [ void ] msg( * Validation_Failure ex ); 83 83 84 84 … … 108 108 109 109 forall(T | Relational( T )) 110 bool is_nonnegative( T &);110 [ bool ] is_nonnegative( & T ); 111 111 112 112 forall(T | Relational( T )) 113 bool is_positive( T &);113 [ bool ] is_positive( & T ); 114 114 115 115 forall(T | Relational( T )) 116 bool is_nonpositive( T &);116 [ bool ] is_nonpositive( & T ); 117 117 118 118 forall(T | Relational( T )) 119 bool is_negative( T &);119 [ bool ] is_negative( & T ); 120 120 121 121
Note: See TracChangeset
for help on using the changeset viewer.