Diff for /rpl/modules/motif/definitions.sh between versions 1.4 and 1.6

version 1.4, 2017/07/10 18:47:55 version 1.6, 2017/10/10 20:25:32
Line 13  $2/rplawk/rplawk 'BEGIN { c = 0; } \ Line 13  $2/rplawk/rplawk 'BEGIN { c = 0; } \
         { arg = %s; } else \\\n", $2, $2); } } \          { arg = %s; } else \\\n", $2, $2); } } \
         END { printf("{ executionError(\"Unknown directive\"); } } \\\          END { printf("{ executionError(\"Unknown directive\"); } } \\\
         while(0)\n"); }' \          while(0)\n"); }' \
         $3/lib/Xm/XmStrDefs.h >> $1/variables.h          $3/Xm/XmStrDefs.h >> $1/variables.h
   
 echo "#define Xm_widgets_classes(value, arg) \\" >> $1/variables.h  echo "#define Xm_widgets_classes(value, arg) \\" >> $1/variables.h
 cpp -E /usr/include/X11/Shell.h | sed 's/;/ /g' | \  cpp -E /usr/include/X11/Shell.h | sed 's/;/ /g' | \
         $2/rplawk/rplawk ' BEGIN { printf("{ "); } \          $2/rplawk/rplawk 'BEGIN { printf("{ "); } \
         /^[\t ]+WidgetClass.*WidgetClass[\t ]*$/ \          /^[\t ]*WidgetClass.*WidgetClass[\t ]*$/ \
         { printf("if (strcmp(\"%s\", value) == 0) \\\          { printf("if (strcmp(\"%s\", value) == 0) \\\
         { arg = %s; } else \\\n", $2, $2); } ' >> $1/variables.h          { arg = %s; } else \\\n", $2, $2); } ' >> $1/variables.h
 cpp -E $3/lib/Xm/XmAll.h -I $3/lib | sed 's/;/ /g' | \  cpp -E $3/Xm/XmAll.h -I $3 | sed 's/;/ /g' | \
         $2/rplawk/rplawk '/^extern WidgetClass xm/ \          $2/rplawk/rplawk '/^[\t ]*WidgetClass xm.*[\t ]*$/ \
           { printf("if (strcmp(\"%s\", value) == 0) \\\
           { arg = %s; } else \\\n", $2, $2); } \
           /^[\t ]*extern WidgetClass xm.*[\t ]*$/ \
         { printf("if (strcmp(\"%s\", value) == 0) \\\          { printf("if (strcmp(\"%s\", value) == 0) \\\
         { arg = %s; } else \\\n", $3, $3); } \          { arg = %s; } else \\\n", $3, $3); } \
         END { printf("{ executionError(\"Class not found\"); } } \\\          END { printf("{ executionError(\"Class not found\"); } } \\\

Removed from v.1.4  
changed lines
  Added in v.1.6


CVSweb interface <joel.bertrand@systella.fr>