forked from platformio/platformio-core
Fix issue with INO to CPP converter and multiline strings
This commit is contained in:
1 parent
aed6d9a91b
commit
6502cf5552
1 file changed
+1
-1
@@ -115,7 +115,7 @@ class InoToCPPConverter(object):
|
||||
elif stropen:
|
||||
newlines[len(newlines) - 1] += line[:-1]
|
||||
continue
|
||||
elif stropen and line.endswith('";'):
|
||||
elif stropen and line.endswith(('",', '";')):
|
||||
newlines[len(newlines) - 1] += line
|
||||
stropen = False
|
||||
newlines.append('#line %d "%s"' %
|
||||
|
||||
Reference in new issue
Block a user