From ad40bb6762360183586b9e434b45606154b52aa1 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 摹曛, 21 3月 2013 19:49:34 +0800
Subject: [PATCH] Modify lexer according to IEEE 488.2

---
 libscpi/src/minimal.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libscpi/src/minimal.c b/libscpi/src/minimal.c
index c133fe6..ec4680d 100644
--- a/libscpi/src/minimal.c
+++ b/libscpi/src/minimal.c
@@ -102,10 +102,10 @@
  * @return 
  */
 scpi_result_t SCPI_StatusQuestionableEventQ(scpi_t * context) {
-    // return value
+    /* return value */
     SCPI_ResultInt(context, SCPI_RegGet(context, SCPI_REG_QUES));
 
-    // clear register
+    /* clear register */
     SCPI_RegSet(context, SCPI_REG_QUES, 0);
 
     return SCPI_RES_OK;
@@ -117,7 +117,7 @@
  * @return 
  */
 scpi_result_t SCPI_StatusQuestionableEnableQ(scpi_t * context) {
-    // return value
+    /* return value */
     SCPI_ResultInt(context, SCPI_RegGet(context, SCPI_REG_QUESE));
 
     return SCPI_RES_OK;
@@ -142,7 +142,7 @@
  * @return 
  */
 scpi_result_t SCPI_StatusPreset(scpi_t * context) {
-    // clear STATUS:...
+    /* clear STATUS:... */
     SCPI_RegSet(context, SCPI_REG_QUES, 0);
     return SCPI_RES_OK;
 }

--
Gitblit v1.9.1