Skip to content

Commit

Permalink
Merge pull request #4 from adrienbarral/master
Browse files Browse the repository at this point in the history
Buf Fix : Remove whitespaces in enum strings value.
  • Loading branch information
1r0b1n0 authored Sep 4, 2018
2 parents 7ea0858 + c7a4072 commit d906b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def make_declaration(self, f):

def make_assignations(self, f, className):
if(self.type == 'string'):
f.write(' const std::string %s::%s = "%s";\n' % (className, self.name, self.value))
f.write(' const std::string %s::%s = "%s";\n' % (className, self.name, self.value.replace(" ","")))

class PrimitiveDataType:
""" Our datatype is a C/C++ primitive. """
Expand Down

0 comments on commit d906b92

Please sign in to comment.