From 82d46a68c80b36139e12238786ef90acef1eddad Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 12 Dec 2009 17:40:20 +0000 Subject: [PATCH] '^' added to is_arith_char() in string.c --- ChangeLog | 2 ++ src/misc/string.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a60ac3548..24bc2f172 100644 --- a/ChangeLog +++ b/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 diff --git a/src/misc/string.c b/src/misc/string.c index e3ad9c59d..739711ba2 100644 --- a/src/misc/string.c +++ b/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;