# HG changeset patch # User nenolod # Date 1164259818 28800 # Node ID 0f3ed1b6b273eee1951e743dd861227c6feda95a # Parent 795d83dcfdb73b115d6cf453db3b519ed7ceda53 [svn] - fix handling of strings diff -r 795d83dcfdb7 -r 0f3ed1b6b273 ChangeLog --- a/ChangeLog Wed Nov 22 20:25:17 2006 -0800 +++ b/ChangeLog Wed Nov 22 21:30:18 2006 -0800 @@ -1,3 +1,13 @@ +2006-11-23 04:25:17 +0000 Yoshiki Yazawa + revision [644] + - modify parser.y for warnings + - re-generate parser.c + + trunk/src/paranormal/libcalc/parser.c | 2135 ++++++++++++++++++++++------------ + trunk/src/paranormal/libcalc/parser.y | 5 + 2 files changed, 1397 insertions(+), 743 deletions(-) + + 2006-11-22 23:29:31 +0000 William Pitcock revision [640] - i hate the world. diff -r 795d83dcfdb7 -r 0f3ed1b6b273 src/paranormal/actuators.c --- a/src/paranormal/actuators.c Wed Nov 22 20:25:17 2006 -0800 +++ b/src/paranormal/actuators.c Wed Nov 22 21:30:18 2006 -0800 @@ -45,6 +45,8 @@ sizeof (union actuator_option_val)); break; case OPT_TYPE_STRING: + actuator->options[i].val.sval = g_strdup(a->options[i].val.sval); + break; default: break; }