From 658a838ea0ffcb0e3641809f8620c08377518f7f Mon Sep 17 00:00:00 2001 From: mselig Date: Fri, 25 Jul 2003 17:55:27 +0000 Subject: [PATCH] Includes mods to greatly shorten the uiuc_recorder.cpp code. --- src/FDM/UIUCModel/uiuc_recorder.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/FDM/UIUCModel/uiuc_recorder.cpp b/src/FDM/UIUCModel/uiuc_recorder.cpp index 62e2c3b4d..8aed92e70 100644 --- a/src/FDM/UIUCModel/uiuc_recorder.cpp +++ b/src/FDM/UIUCModel/uiuc_recorder.cpp @@ -38,6 +38,9 @@ values can be recorded 03/03/2003 (RD) Added flap_cmd_record 03/16/2003 (RD) Added trigger record variables + 07/17/2003 (RD) Added error checking code (default + routine) since it was removed from + uiuc_menu_record() ---------------------------------------------------------------------- @@ -2289,6 +2292,16 @@ void uiuc_recorder( double dt ) fout << trigger_counter << " "; break; } + default: + { + if (ignore_unknown_keywords) { + // do nothing + } else { + // print error message + uiuc_warnings_errors(2, *command_line); + } + break; + } }; } // end record map }