@@ -107,6 +107,7 @@ Error ERROR_syntax = ERROR_none;
107107Error ERROR_unlabelled_param_type = ERROR_none ;
108108Error ERROR_file_unreadable ;
109109Error ERROR_file_unwriteable ;
110+ Error ERROR_warn_unsupported_lang_feat ;
110111
111112struct Scope_ * FUNC_NVL ;
112113struct Scope_ * FUNC_USEDIN ;
@@ -469,13 +470,14 @@ void EXPRESSinitialize( void ) {
469470 "Schema %s was not found in its own schema file (%s)" , SEVERITY_ERROR );
470471 ERROR_unlabelled_param_type = ERRORcreate (
471472 "Return type or local variable requires type label in `%s'" , SEVERITY_ERROR );
472- ERROR_file_unreadable = ERRORcreate (
473- "Could not read file %s: %s" , SEVERITY_ERROR );
474- ERROR_file_unwriteable = ERRORcreate (
475- "Could not write file %s: %s" , SEVERITY_ERROR );
473+ ERROR_file_unreadable = ERRORcreate ( "Could not read file %s: %s" , SEVERITY_ERROR );
474+ ERROR_file_unwriteable = ERRORcreate ( "Could not write file %s: %s" , SEVERITY_ERROR );
475+ ERROR_warn_unsupported_lang_feat = ERRORcreate ("Unsupported language feature (%s) at %s:%d" , SEVERITY_WARNING );
476+
476477 OBJcreate ( OBJ_EXPRESS , EXPRESS_get_symbol , "express file" , OBJ_UNUSED_BITS );
477478
478479 ERRORcreate_warning ( "unknown_subtype" , ERROR_unknown_subtype );
480+ ERRORcreate_warning ( "unsupported" , ERROR_warn_unsupported_lang_feat );
479481
480482 EXPRESS_PATHinit (); /* note, must follow defn of errors it needs! */
481483}
0 commit comments