changeset 296:0f3ed1b6b273 trunk

[svn] - fix handling of strings
author nenolod
date Wed, 22 Nov 2006 21:30:18 -0800
parents 795d83dcfdb7
children 44ad758c2d98
files ChangeLog src/paranormal/actuators.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <yaz@cc.rim.or.jp>
+  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 <nenolod@nenolod.net>
   revision [640]
   - i hate the world.
--- 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;
 	    }