problem with global symbol verbose
authornorth <devnull@localhost>
Wed, 3 Dec 2008 20:09:51 +0000 (20:09 +0000)
committernorth <devnull@localhost>
Wed, 3 Dec 2008 20:09:51 +0000 (20:09 +0000)
cmd/smyrna/main.c
cmd/smyrna/smyrnadefs.h
lib/common/htmlparse.y

index 62a57fbe232347b96925264b3e1d0296efe79086..1803a0d82bf5908ca251cdc677ef9489e2a2de12 100755 (executable)
@@ -48,6 +48,7 @@ gchar *package_data_dir;
 gchar *package_locale_dir;
 static char* smyrnaDir;
 char* smyrnaGlade;
+unsigned char SmyrnaVerbose;
 
 char*
 smyrnaPath (char* suffix)
@@ -81,7 +82,7 @@ parseArgs (int argc, char *argv[], ViewInfo* view)
     while ((c = getopt(argc, argv, ":K:txv?")) != -1) {
        switch (c) {
        case 'v':
-           Verbose = 1;
+           SmyrnaVerbose = 1;
            break;
        case 't':
            view->dfltViewType = VT_TOPVIEW; 
index 0ef6fb911706f767b0e7e47a1aa6dc4ba9181c85..827ee338faecaf7bc50e5d72e7b9189a5238098b 100644 (file)
@@ -511,6 +511,6 @@ extern void glexpose();
 extern char* layout2s (gvk_layout gvkl);
 extern gvk_layout s2layout (char* s);
 extern char* element2s (gve_element);
-unsigned char Verbose;
+extern unsigned char SmrynaVerbose;
 
 #endif
index 43719fad61205db910a85221803ebad306296d28..d6bf2d7a0bff7d362452b2bf1d10d9d42222b3f3 100644 (file)
@@ -422,7 +422,7 @@ popFont (void)
 %token <font> T_font
 
 %type <txt> fonttext
-%type <i> br
+%type <i> br  
 %type <tbl> table fonttable
 %type <img> image