visq / language-c

Source repository for https://hackage.haskell.org/package/language-c
http://visq.github.io/language-c/
Other
87 stars 45 forks source link

Removing erroneous punctuation in pretty print of `designated initializers` #73

Closed ersran9 closed 4 years ago

ersran9 commented 4 years ago

With current pp

*Language.C Language.C.Parser> fmap pretty $ parseC "struct S z = ((struct S) {'a', 0, .meta.z = x + y });" nopos
Right struct S z = (struct S) {'a', 0, .meta..z = x + y};
expipiplus1 commented 4 years ago

merged in https://github.com/visq/language-c/pull/79 thanks!

I'll make a release soon!

expipiplus1 commented 4 years ago

released as 0.9