Commits

Michał Górny committed 8312d01

Fix dropping quotes after a braceless variable.

Fixes http://bugs.gentoo.org/show_bug.cgi?id=363831.

  • Participants
  • Parent commits abd1c5e

Comments (0)

Files changed (1)

File lib/flaggie/makeconf.py

 					elif isinstance(token, self.SingleQuotedString) and c == "'":
 						token = None
 					elif isinstance(token, self.DoubleQuotedString) and c == '"':
+						if isinstance(token, self.DoubleQuotedVariableRef):
+							tmp = newtoken(self.DoubleQuotedString)
+							tmp.lquo = False
 						token = None
 					elif isinstance(token, self.DoubleQuotedBracedVariableRef) and c == '}':
 						token = newtoken(self.DoubleQuotedString)