Please find the attached patch implementing folding on the GetText (PO) lexer. It's my first folding patch, so I'm really unfamiliar with this. Please tell me if anything has to be updated.
Clang 3.1 which is the version present in recent Linux distributions such as Fedora 18 warns (in --analyze mode) about unused values in the folder. The code could be simplified so that these variables have more limited scope and assigned values are used.
Hum, actually it's rather a feature request, sorry for the wrong tracker :(
I won't be looking at this until after 3.2.4 is released.
Committed as [602a6c].
Related
Commit: [602a6c]
Clang 3.1 which is the version present in recent Linux distributions such as Fedora 18 warns (in --analyze mode) about unused values in the folder. The code could be simplified so that these variables have more limited scope and assigned values are used.
Changeset [7f106a] stops the warnings from clang --analyze.
Related
Commit: [7f106a]