]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
indent(1): Properly handle the wide string literal and wide char constant L.
authorPedro F. Giffuni <pfg@FreeBSD.org>
Sun, 27 Nov 2016 20:38:14 +0000 (20:38 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Sun, 27 Nov 2016 20:38:14 +0000 (20:38 +0000)
commit350fcdd5dff1d44ab729983847fcc3d8ff0e6362
treea64e9217b89a204010fcd04041577e98679d855e
parent6daffe6ebf8ac89699787b7a6598bfafc41b7eed
indent(1): Properly handle the wide string literal and wide char constant L.

indent(1) treated the "L" in "L'a'" as if it were an identifier and forced
a space character after it, breaking valid code.

PR: 143090
MFC after: 2 weeks
usr.bin/indent/indent.c
usr.bin/indent/indent_codes.h
usr.bin/indent/lexi.c