X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fparser.c;h=aa1897691e7af15cfbf4a28c24fb1dd239c12469;hb=b2c1bdf08ab7c71acdd5d2386db70d075c59673d;hp=cc20b4e6a79e97a8fefef5e9323fb3e5ef141390;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/mware/parser.c b/bertos/mware/parser.c index cc20b4e6..aa189769 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 Bernardo Innocenti + * \author Stefano Fedrigo + * \author Giovanni Bajo + * + * */ #include "parser.h" + +#include "appconfig.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 whit internal command you must fix it. static ResultCode cmd_help(void) { #ifdef _DEBUG