lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [1/4] git commit: Fix some comments regarding bool type
Date Sat, 22 Mar 2014 14:46:18 GMT
Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 037dcf9d5 -> 76f9b9a95


Fix some comments regarding bool type


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d9e0f280
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d9e0f280
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d9e0f280

Branch: refs/heads/master
Commit: d9e0f280493497932987c17f4bb675ecf94e8a89
Parents: 037dcf9
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat Mar 22 14:16:35 2014 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat Mar 22 14:16:35 2014 +0100

----------------------------------------------------------------------
 compiler/perl/t/600-parser.t | 2 +-
 compiler/src/CFCType.c       | 2 +-
 compiler/src/CFCType.h       | 5 +----
 3 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9e0f280/compiler/perl/t/600-parser.t
----------------------------------------------------------------------
diff --git a/compiler/perl/t/600-parser.t b/compiler/perl/t/600-parser.t
index 8d6e26e..f0d56fa 100644
--- a/compiler/perl/t/600-parser.t
+++ b/compiler/perl/t/600-parser.t
@@ -52,7 +52,7 @@ for (qw( void float uint32_t int64_t uint8_t bool )) {
 }
 
 isa_ok( $parser->parse("bool"),
-    "Clownfish::CFC::Model::Type", "Charmony integer specifier bool" );
+    "Clownfish::CFC::Model::Type", "C99 integer specifier bool" );
 
 for (qw( ByteBuf Obj ANDMatcher )) {
     my $class = $parser->parse("class $_ {}");

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9e0f280/compiler/src/CFCType.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCType.c b/compiler/src/CFCType.c
index b3c13ce..50d7d6f 100644
--- a/compiler/src/CFCType.c
+++ b/compiler/src/CFCType.c
@@ -118,7 +118,7 @@ CFCType_new_integer(int flags, const char *specifier) {
              || !strcmp(specifier, "int")
              || !strcmp(specifier, "long")
              || !strcmp(specifier, "size_t")
-             || !strcmp(specifier, "bool") // Charmonizer type.
+             || !strcmp(specifier, "bool")
             ) {
         width = 0;
     }

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d9e0f280/compiler/src/CFCType.h
----------------------------------------------------------------------
diff --git a/compiler/src/CFCType.h b/compiler/src/CFCType.h
index 53916c1..fbcc6e2 100644
--- a/compiler/src/CFCType.h
+++ b/compiler/src/CFCType.h
@@ -77,14 +77,11 @@ CFCType_init(CFCType *self, int flags, struct CFCParcel *parcel,
  *     int
  *     long
  *     size_t
+ *     bool
  *
  * Many others are not supported: "signed" or "unsigned" anything, "long
  * long", "ptrdiff_t", "off_t", etc.
  *
- * The following Charmonizer typedefs are supported:
- *
- *     bool
- *
  * @param flags Allowed flags: CONST, INTEGER, PRIMITIVE.
  * @param specifier Must match one of the supported types.
  */


Mime
View raw message