1. Taegyoon Kim
  2. Paren

Commits

Taegyoon Kim  committed 8cb93b1

version 1.4.4: namespace issue fixed; using namespace std globally then

  • Participants
  • Parent commits a2fe0bf
  • Branches master

Comments (0)

Files changed (2)

File libparen.cpp

View file
  • Ignore whitespace
 
 #include "libparen.h"
 
-using namespace std;
-
 namespace libparen {
+    using namespace std;
+
     paren::paren() {
         init();
     }

File libparen.h

View file
  • Ignore whitespace
 #include <ctime>
 #include <memory>
 
-using namespace std;
-
-#define PAREN_VERSION "1.4.3"
+#define PAREN_VERSION "1.4.4"
 
 namespace libparen {
+    using namespace std;
+
     struct node {
         enum {T_NIL, T_INT, T_DOUBLE, T_BOOL, T_STRING, T_SYMBOL, T_LIST, T_BUILTIN, T_FN} type;
         enum builtin {PLUS, MINUS, MUL, DIV, CARET, PERCENT, SQRT, INC, DEC, PLUSPLUS, MINUSMINUS, FLOOR, CEIL, LN, LOG10, RAND,