Index: libcfa/prelude/builtins.c
===================================================================
--- libcfa/prelude/builtins.c	(revision 43784ac7ca1579ca19d7dc8bc4e1423986fd4d97)
+++ libcfa/prelude/builtins.c	(revision 08bc3e7682b94f0293f79c5ce9c8de2a9746ca3b)
@@ -57,14 +57,14 @@
 
 // generator support
-struct $generator {
+struct generator$ {
 	inline int;
 };
 
-static inline void  ?{}($generator & this) { ((int&)this) = 0; }
-static inline void ^?{}($generator &) {}
+static inline void  ?{}(generator$ & this) { ((int&)this) = 0; }
+static inline void ^?{}(generator$ &) {}
 
 trait is_generator(T &) {
       void main(T & this);
-      $generator * get_generator(T & this);
+      generator$ * get_generator(T & this);
 };
 
