'^' added to is_arith_char() in string.c

This commit is contained in:
h_vogt 2009-12-12 17:40:20 +00:00
parent f72545d4d0
commit 82d46a68c8
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
2009-12-12 Holger Vogt
* runcoms: evalusate measure commands only when avaialble
* /examples/transimpedanceamp/output.net: correct .plot statement
* string.c: '^' added to is_arith_char(), to allow parsing of '^' in
.func function definitions
2009-12-11 Holger Vogt
* bug 2909730, patch for parsing expressions applied

View File

@ -444,7 +444,7 @@ bool
is_arith_char( char c )
{
if ( c == '+' || c == '-' || c == '*' || c == '/' || c == '(' || c == ')' || c == '<' ||
c == '>' || c == '?' || c == '|' || c == '&' )
c == '>' || c == '?' || c == '|' || c == '&' || c == '^')
return TRUE;
else
return FALSE;