From 461c70ac5da7a8eeb7ca07e2c5a8cdb2ab25d11c Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周六, 05 12月 2015 18:37:53 +0800
Subject: [PATCH] Extend lexer test coverage

---
 libscpi/src/units.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libscpi/src/units.c b/libscpi/src/units.c
index 28a75cc..f59fe86 100644
--- a/libscpi/src/units.c
+++ b/libscpi/src/units.c
@@ -283,7 +283,7 @@
             scpiLex_CharacterProgramData(&state, &token);
 
             /* convert string to special number type */
-            SCPI_ParamToChoice(context, &token, special, &tag);
+            result = SCPI_ParamToChoice(context, &token, special, &tag);
 
             value->special = TRUE;
             value->tag = tag;

--
Gitblit v1.9.1