diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-09-09 08:22:40 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-09-09 08:22:40 +0200 |
commit | 79c4014fd2852d12b2489184f53da40247452b8a (patch) | |
tree | bb64aa3e6263723ef0ca912584ee6e46acfd291d /runtime.cpp | |
parent | ed0409a2a7450905bdc70015ffe537171684dddf (diff) |
More bitwise operators!
Diffstat (limited to 'runtime.cpp')
-rw-r--r-- | runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime.cpp b/runtime.cpp index 03c87b4..98ae245 100644 --- a/runtime.cpp +++ b/runtime.cpp @@ -12,7 +12,7 @@ using namespace std; inline bool isword(char c){return isalpha(c)||c=='_'||c=='@'||c=='$';} inline bool isextword(char c){return isword(c)||isdigit(c);} -inline bool isoperator(char c){return (bool)strchr("+-*/=><!%^{}",c);} +inline bool isoperator(char c){return (bool)strchr("+-*/%&|~^!=><{}",c);} Stackitem::Stackitem(void):isstr(false),intval(0){} |