Diff for /parser3/src/classes/reflection.C between versions 1.85 and 1.87

version 1.85, 2017/02/15 17:21:28 version 1.87, 2020/12/15 17:10:29
Line 1 Line 1
 /** @file  /** @file
         Parser: @b reflection parser class.          Parser: @b reflection parser class.
   
         Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com)          Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
Line 66  static void _create(Request& r, MethodPa Line 66  static void _create(Request& r, MethodPa
                         valid_options++;                          valid_options++;
                         params_hash=vparams_hash->as_hash("arguments");                          params_hash=vparams_hash->as_hash("arguments");
                         if(params.count()>1)                          if(params.count()>1)
                                 throw Exception(PARSER_RUNTIME, 0, "agruments should not be specified as hash and as create params");                                  throw Exception(PARSER_RUNTIME, 0, "arguments should not be specified as hash and as create params");
                 }                  }
                 if(valid_options!=options->count())                  if(valid_options!=options->count())
                         throw Exception(PARSER_RUNTIME, 0, CALLED_WITH_INVALID_OPTION);                          throw Exception(PARSER_RUNTIME, 0, CALLED_WITH_INVALID_OPTION);

Removed from v.1.85  
changed lines
  Added in v.1.87


E-mail: