From a10c464ba98e980b21185bf084789f6c8df22473 Mon Sep 17 00:00:00 2001 From: Iztok Jeras <iztok.jeras@gmail.com> Date: 周三, 19 7月 2017 21:03:37 +0800 Subject: [PATCH] moving bool choice definition (ON, OFF) to units.c, so it could be used by various applications --- libscpi/src/expression.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libscpi/src/expression.c b/libscpi/src/expression.c index 702835c..8f80b2d 100644 --- a/libscpi/src/expression.c +++ b/libscpi/src/expression.c @@ -207,7 +207,7 @@ if (i == 0) { return SCPI_EXPR_NO_MORE; } else { - // there was at least one number followed by !, but after ! was not another number + /* there was at least one number followed by !, but after ! was not another number */ return SCPI_EXPR_ERROR; } } @@ -283,7 +283,7 @@ lex.pos = lex.buffer; lex.len = param->len - 2; - // detect channel list expression + /* detect channel list expression */ if (!scpiLex_SpecificCharacter(&lex, &token, '@')) { SCPI_ErrorPush(context, SCPI_ERROR_EXPRESSION_PARSING_ERROR); return SCPI_EXPR_ERROR; -- Gitblit v1.9.1