Browse Source

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

pre-master-46
h_vogt 17 years ago
parent
commit
82d46a68c8
  1. 2
      ChangeLog
  2. 2
      src/misc/string.c

2
ChangeLog

@ -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

2
src/misc/string.c

@ -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;

Loading…
Cancel
Save