X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fparser.c;h=0d42b8c21faa83ec0a3ee2d95387d9202d2adc5d;hb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;hp=cc20b4e6a79e97a8fefef5e9323fb3e5ef141390;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/mware/parser.c b/bertos/mware/parser.c index cc20b4e6..0d42b8c2 100644 --- a/bertos/mware/parser.c +++ b/bertos/mware/parser.c @@ -30,12 +30,6 @@ * All Rights Reserved. * --> * - * \version $Id$ - * - * \author Bernardo Innocenti - * \author Stefano Fedrigo - * \author Giovanni Bajo - * * \brief Serial protocol parser and commands. * * This file contains the serial protocol parser and @@ -50,18 +44,28 @@ * using an union: the element of the union to use for each * argument is determined by format strings present in the * CmdTemplate table. + * + * \version $Id$ + * + * \author Bernie Innocenti + * \author Stefano Fedrigo + * \author Giovanni Bajo + * + * */ #include "parser.h" + +#include "cfg/cfg_parser.h" + #include +#include #include // atol(), NULL #include // strchr(), strcmp() -#include -#include "appconfig.h" #define ARG_SEP_S " " #define ARG_SEP_C ' ' @@ -354,6 +358,7 @@ void parser_register_cmd(const struct CmdTemplate* cmd) } #if CONFIG_INTERNAL_COMMANDS +#warning FIXME:This code use boost lib, if you compile with internal command you must fix it. static ResultCode cmd_help(void) { #ifdef _DEBUG