Refactor parser.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jan 2012 14:40:03 +0000 (14:40 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jan 2012 14:40:03 +0000 (14:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5229 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/mware/parser.h

index d681f724d297daaf9ec89553840dd5563dff9d24..ca7a7a2891f9fe627776fce6b6b85962587f54e7 100644 (file)
@@ -128,7 +128,8 @@ typedef enum
        RC_ERROR  = -1, ///< Reply with error.
        RC_OK     = 0,  ///< No reply (ignore reply arguments).
        RC_REPLY  = 1,  ///< Reply command arguments.
        RC_ERROR  = -1, ///< Reply with error.
        RC_OK     = 0,  ///< No reply (ignore reply arguments).
        RC_REPLY  = 1,  ///< Reply command arguments.
-       RC_SKIP   = 2   ///< Skip following commands
+       RC_SKIP   = 2,  ///< Skip following commands
+       RC_CLAMPED = 3, ///< argument values have been clamped.
 } ResultCode;
 
 typedef struct
 } ResultCode;
 
 typedef struct