Commit 7359f160 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

lib: Strip quotes from quoted terminals in CFG

parent 1d039475
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -228,7 +228,7 @@ class DFABuilder(DFAListener):
                        name += str(value)
                        name += str(value)
                i += 1
                i += 1


            return '"' + name + '"'
            return name


    def exitProduction(self, ctx):
    def exitProduction(self, ctx):
        state = State(self.visitStatename(ctx.statename(0)))
        state = State(self.visitStatename(ctx.statename(0)))