lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] [7/7] git commit: refs/heads/install-c-library - Regenerate charmonizer.c
Date Mon, 20 May 2013 17:49:21 GMT
Regenerate charmonizer.c


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

Branch: refs/heads/install-c-library
Commit: 7b85c8a343b7eeb71a30ad920d79f2b42fb52095
Parents: 6dcd3da
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Mon May 20 18:33:43 2013 +0200
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Mon May 20 19:47:53 2013 +0200

----------------------------------------------------------------------
 clownfish/compiler/common/charmonizer.c |    3 ++-
 clownfish/runtime/common/charmonizer.c  |    2 +-
 common/charmonizer.c                    |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/7b85c8a3/clownfish/compiler/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/common/charmonizer.c b/clownfish/compiler/common/charmonizer.c
index f89aebe..2d1b7c1 100644
--- a/clownfish/compiler/common/charmonizer.c
+++ b/clownfish/compiler/common/charmonizer.c
@@ -2499,10 +2499,10 @@ chaz_ConfWriterC_end_module(void) {
                                                     defs[i].str2);
                 break;
             case CHAZ_CONFELEM_GLOBAL_TYPEDEF: {
-                ++num_globals;
                 char *sym = chaz_ConfWriterC_uppercase_string(defs[i].str1);
                 chaz_ConfWriterC_append_def_to_conf(sym, defs[i].str2);
                 free(sym);
+                ++num_globals;
             }
             /* fall through */
             case CHAZ_CONFELEM_TYPEDEF:
@@ -6094,6 +6094,7 @@ int main(int argc, const char **argv) {
 
     /* Define stdint types in charmony.h. */
     chaz_ConfWriter_append_conf("#define CHY_EMPLOY_INTEGERTYPES\n\n");
+    chaz_ConfWriter_append_conf("#define CHY_EMPLOY_INTEGERLITERALS\n\n");
 
     /* Run probe modules. */
     chaz_BuildEnv_run();

http://git-wip-us.apache.org/repos/asf/lucy/blob/7b85c8a3/clownfish/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/clownfish/runtime/common/charmonizer.c b/clownfish/runtime/common/charmonizer.c
index 0b9bbaf..74a2f98 100644
--- a/clownfish/runtime/common/charmonizer.c
+++ b/clownfish/runtime/common/charmonizer.c
@@ -2693,10 +2693,10 @@ chaz_ConfWriterC_end_module(void) {
                                                     defs[i].str2);
                 break;
             case CHAZ_CONFELEM_GLOBAL_TYPEDEF: {
-                ++num_globals;
                 char *sym = chaz_ConfWriterC_uppercase_string(defs[i].str1);
                 chaz_ConfWriterC_append_def_to_conf(sym, defs[i].str2);
                 free(sym);
+                ++num_globals;
             }
             /* fall through */
             case CHAZ_CONFELEM_TYPEDEF:

http://git-wip-us.apache.org/repos/asf/lucy/blob/7b85c8a3/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/common/charmonizer.c b/common/charmonizer.c
index 82c3421..99740a8 100644
--- a/common/charmonizer.c
+++ b/common/charmonizer.c
@@ -2693,10 +2693,10 @@ chaz_ConfWriterC_end_module(void) {
                                                     defs[i].str2);
                 break;
             case CHAZ_CONFELEM_GLOBAL_TYPEDEF: {
-                ++num_globals;
                 char *sym = chaz_ConfWriterC_uppercase_string(defs[i].str1);
                 chaz_ConfWriterC_append_def_to_conf(sym, defs[i].str2);
                 free(sym);
+                ++num_globals;
             }
             /* fall through */
             case CHAZ_CONFELEM_TYPEDEF:


Mime
View raw message