void ProcRemark( void ) { char c; RawScanInit(); for( ;; ) { c = RawScanChar(); if( c == '\0' ) break; RawScanAdvance(); /* The CR character indicates end of line in a multi-line command list. */ if( c == '\r' ) break; } RawScanFini(); }
void ProcRemark( void ) { char c; RawScanInit(); while( (c = RawScanChar()) != NULLCHAR ) { RawScanAdvance(); /* The CR character indicates end of line in a multi-line command list. */ if( c == '\r' ) { break; } } RawScanFini(); }
OVL_EXTERN void GetModName( void *value ) { mod_handle mod; char *start; size_t len; RawScanInit(); ScanItem( FALSE, &start, &len ); mod = LookupModName( NO_MOD, start, len ); if( mod == NO_MOD ) { Error( ERR_NONE, LIT( ERR_NO_MODULE ), start, len ); } Scan(); ReqEOC(); *(mod_handle *)value = mod; }