Remove trailing whitespace at end of lines
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 14 Jun 2020 15:07:27 +0000 (17:07 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 14 Jun 2020 15:09:15 +0000 (17:09 +0200)
src/output/spv/automake.mk
src/output/spv/binary-parser-generator
src/output/spv/spv-legacy-data.c
src/output/spv/xml-parser-generator

index 198e8df7e542a1b53e0a7acb6f57ca50c5640e30..78dae86130e49c3e19caa2133ad4fe06405378bc 100644 (file)
@@ -1,19 +1,19 @@
 # PSPP - a program for statistical analysis.
 # Copyright (C) 2017 Free Software Foundation, Inc.
-# 
+#
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation, either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
-# 
+#
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
 src_output_liboutput_la_SOURCES += \
index a62456c4b3498a22316ce465eac03cc351ff388d..820cf23d89ae7fc2571aaef3372beebabf0a8794 100644 (file)
@@ -326,7 +326,7 @@ def print_members(p, indent):
                         array_suffix = '[%d]' % item.n
                 else:
                     n_stars += 1
-            
+
             print("%s%s %s%s%s;" % (indent, typename, '*' * n_stars,
                                     name_to_id(item.name),
                                     array_suffix))
@@ -391,7 +391,7 @@ class Parser_Context(object):
     indent, '_be' if endian == 'big' else '', limit,
     indent, self.bail))
         return limit
-        
+
 
 def print_parser_items(name, production, indent, accessor, ctx):
     for item_idx in range(len(production)):
@@ -547,7 +547,7 @@ def print_parser_items(name, production, indent, accessor, ctx):
                         indent, accessor, item.name, choice_name[-2:]))
                     print('')
                     choice = choice[1:]
-                
+
                 print_parser_items(name, choice, indent + '    ',
                                    accessor + choice_name + '.', ctx)
                 i += 1
@@ -641,7 +641,7 @@ def print_free_items(name, production, indent, accessor, ctx):
                 print('%s%sif (p->%s%s == %s) {' % (
                     indent, '} else ' if i else '', accessor, item.name,
                     value_name))
-                
+
                 print_free_items(name, choice, indent + '    ',
                                  accessor + choice_name + '.', ctx)
                 i += 1
@@ -764,7 +764,7 @@ def print_print_items(name, production, indent, accessor, ctx):
                 print('%s%sif (p->%s%s == %s) {' % (
                     indent, '} else ' if i else '', accessor, item.name,
                     value_name))
-                
+
                 print_print_items(name, choice, indent + '    ',
                                   accessor + choice_name + '.', ctx)
                 i += 1
@@ -797,7 +797,7 @@ void
 def name_to_id(s):
     return s[0].lower() + ''.join(['_%c' % x.lower() if x.isupper() else x
                                    for x in s[1:]]).replace('-', '_')
-    
+
 
 if __name__ == "__main__":
     argv0 = sys.argv[0]
index da9293ce4826055d02113801f95c710e7ff03ae8..8985f35979a1e177abdb507256e42a8c18fa81c6 100644 (file)
@@ -281,7 +281,7 @@ decode_variable_map (const char *source_name,
 #endif
         }
 #endif
-      
+
       value->width = strlen (label->label);
       value->s = xmemdup0 (label->label, value->width);
     }
index e85be59171075480749c53ef72937da38f71e156..a0d0081db3a79acc70abf0e5e6a4172f7c3c91df 100644 (file)
@@ -617,7 +617,7 @@ def generate_content_parser(nonterminal, rhs, function, ctx, state, seq_name):
             function.code += [
                 'p->%s = xrealloc (p->%s, sizeof *p->%s * (p->n_%s + 1));'
                 % (member, member, member, member),
-                'p->%s[p->n_%s++] = %s;' % (member, member, 
+                'p->%s[p->n_%s++] = %s;' % (member, member,
                                             '&%s->node_' % member
                                             if state == STATE_GENERAL
                                             else member)]
@@ -924,7 +924,7 @@ void
                          'prefix': prefix,
                          'name': name,
                          'ref_type': name_to_id(value[1])})
-                
+
 
     print_recurse_members(attributes, rhs, 'resolve_refs')