changeset 741:6c07a9db284e

s/Type/Self/
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Dec 2020 21:24:22 +0900
parents 642b9ae21844
children ab071d8bd1e0
files src/parallel_execution/examples/DPP/PhilsImpl.cbc src/parallel_execution/examples/piposaru/LexerImpl.cbc src/parallel_execution/examples/pop_and_push/StackTest2Impl.cbc src/parallel_execution/examples/pop_and_push/StackTestImpl.cbc src/parallel_execution/lib/Gears/Util.pm
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/parallel_execution/examples/DPP/PhilsImpl.cbc	Tue Dec 22 21:22:54 2020 +0900
+++ b/src/parallel_execution/examples/DPP/PhilsImpl.cbc	Tue Dec 22 21:24:22 2020 +0900
@@ -2,7 +2,7 @@
 #interface "Phils.h"
 
 // ----
-// typedef struct PhilsImpl <Type, Isa> impl Phils {
+// typedef struct PhilsImpl <Self, Isa> impl Phils {
 //   __code next(...);
 //   atomic Leftfork;
 //   atomic Rightfork;
--- a/src/parallel_execution/examples/piposaru/LexerImpl.cbc	Tue Dec 22 21:22:54 2020 +0900
+++ b/src/parallel_execution/examples/piposaru/LexerImpl.cbc	Tue Dec 22 21:24:22 2020 +0900
@@ -3,7 +3,7 @@
 #interface "Lexer.h"
 
 // ----
-// typedef struct LexerImpl <Type, Isa> impl Lexer {
+// typedef struct LexerImpl <Self, Isa> impl Lexer {
 //     __code next(....);
 // } LexerImpl;
 // ----
--- a/src/parallel_execution/examples/pop_and_push/StackTest2Impl.cbc	Tue Dec 22 21:22:54 2020 +0900
+++ b/src/parallel_execution/examples/pop_and_push/StackTest2Impl.cbc	Tue Dec 22 21:24:22 2020 +0900
@@ -2,7 +2,7 @@
 #interface "StackTest2.h"
 
 // ----
-// typedef struct StackTest2Impl <Type, Isa> impl StackTest2 {
+// typedef struct StackTest2Impl <Self, Isa> impl StackTest2 {
 //   __code next(...);
 // } StackTest2Impl;
 // ----
--- a/src/parallel_execution/examples/pop_and_push/StackTestImpl.cbc	Tue Dec 22 21:22:54 2020 +0900
+++ b/src/parallel_execution/examples/pop_and_push/StackTestImpl.cbc	Tue Dec 22 21:24:22 2020 +0900
@@ -7,7 +7,7 @@
 #interface "String.h"
 
 // ----
-// typedef struct StackTestImpl <Type, Isa> impl StackTest {
+// typedef struct StackTestImpl <Self, Isa> impl StackTest {
 //   __code next(....);
 // } StackTestImpl;
 // ----
--- a/src/parallel_execution/lib/Gears/Util.pm	Tue Dec 22 21:22:54 2020 +0900
+++ b/src/parallel_execution/lib/Gears/Util.pm	Tue Dec 22 21:24:22 2020 +0900
@@ -107,7 +107,7 @@
       my $ttype = $2;
       my $tname = $3;
 
-      $ttype =~ s/(Impl|Isa|Type)/Data/;
+      $ttype =~ s/(Impl|Isa|Type|Self)/Data/;
       if ($const_type && ($const_type =~ /(const|enum)/)) {
         $ttype = "$1 $ttype";
       }