diff rathaxes_fix_builtin_symbol.patch @ 97:ffdb018893e2

Finish the patch on the create/destroy_device rewrite in the e1000 sample and fix Builtin::symbol
author Louis Opter <louis@lse.epita.fr>
date Thu, 22 Nov 2012 15:37:46 -0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rathaxes_fix_builtin_symbol.patch	Thu Nov 22 15:37:46 2012 -0800
@@ -0,0 +1,24 @@
+# HG changeset patch
+# User David Pineau <dav.pineau@gmail.com>, Louis Opter <louis@lse.epita.fr>
+# Parent 7da6e752991acb1b97f4fe77e940a4368f2cb969
+rathaxes: fix builtin::symbol
+
+It was builtin::Symbol instead of builtin::symbol in the compiler.
+
+diff --git a/rathaxes/compiler/passes/back/rtxIntrospect.inc.cws b/rathaxes/compiler/passes/back/rtxIntrospect.inc.cws
+--- a/rathaxes/compiler/passes/back/rtxIntrospect.inc.cws
++++ b/rathaxes/compiler/passes/back/rtxIntrospect.inc.cws
+@@ -638,11 +638,11 @@
+                     ref paramType = theChunk.variables[theVar.name].type_node.name;
+                 else
+                 {
+-                    // That's it : It's a Builtin::Symbol, then.
++                    // That's it : It's a Builtin::symbol, then.
+                     local id;
+                     local dummy;
+                     // The param type shall be a rtxNodeIdentifier
+-                    rtxNodeIdentifier(paramType, "Symbol", "Builtin");
++                    rtxNodeIdentifier(paramType, "symbol", "Builtin");
+                 }
+             }
+             else