Forgot minor release number bump. :-P
authorShamus Hammons <jlhamm@acm.org>
Thu, 12 Sep 2013 15:00:35 +0000 (10:00 -0500)
committerShamus Hammons <jlhamm@acm.org>
Thu, 12 Sep 2013 15:00:35 +0000 (10:00 -0500)
expr.c
version.h

diff --git a/expr.c b/expr.c
index 7cedc41350529f3df19e1ccc61752bc75a824d6d..6f0b619492824e65031011f6c9317e7e8cfcf5f8 100644 (file)
--- a/expr.c
+++ b/expr.c
@@ -323,8 +323,8 @@ int expr(TOKEN * otk, VALUE * a_value, WORD * a_attr, SYM ** a_esym)
                                *a_esym = NULL;
 
                        tok++;
-                       *evalTokenBuffer++ = ENDEXPR;
-                       return OK;
+//                     *evalTokenBuffer++ = ENDEXPR;
+//                     return OK;
                }
                else if (*tok == CONST)
                {
@@ -334,6 +334,8 @@ int expr(TOKEN * otk, VALUE * a_value, WORD * a_attr, SYM ** a_esym)
 
                        if (a_esym != NULL)
                                *a_esym = NULL;
+
+                       tok += 2;
                }
                else if (*tok == '*')
                {
@@ -349,7 +351,8 @@ int expr(TOKEN * otk, VALUE * a_value, WORD * a_attr, SYM ** a_esym)
                        if (a_esym != NULL)
                                *a_esym = NULL;
 
-                       tok--;
+//                     tok--;
+                       tok++;
                }
                else if (*tok == STRING || *tok == SYMBOL)
                {
@@ -410,16 +413,19 @@ thrown away right here. What the hell is it for?
 
                        if ((symbol->sattr & (GLOBAL | DEFINED)) == GLOBAL && a_esym != NULL)
                                *a_esym = symbol;
+
+                       tok += 2;
                }
                else
                {
                        // Unknown type here... Alert the user!
                        error("undefined RISC register in expression");
+                       // Prevent spurious error reporting...
                        tok++;
                        return ERROR;
                }
 
-               tok += 2;
+//             tok += 2;
                *evalTokenBuffer++ = ENDEXPR;
                return OK;
        }
index ae702c630003eced992ca9d07b2eaa6715be1e8b..9ed41e3ce7d68b01d58b4b5f3c949d17769acce9 100644 (file)
--- a/version.h
+++ b/version.h
@@ -13,6 +13,6 @@
 
 #define MAJOR   1                      // Major version number
 #define MINOR   2                      // Minor version number
-#define PATCH   5                      // Patch release number
+#define PATCH   6                      // Patch release number
 
 #endif // __VERSION_H__