svn commit: r303498 - head/usr.bin/indent

Pedro F. Giffuni pfg at FreeBSD.org
Fri Jul 29 17:55:40 UTC 2016


Author: pfg
Date: Fri Jul 29 17:55:38 2016
New Revision: 303498
URL: https://svnweb.freebsd.org/changeset/base/303498

Log:
  Revert r303487:	Wrong commit log.
  
  Will be brought back with the correct log.

Modified:
  head/usr.bin/indent/lexi.c

Modified: head/usr.bin/indent/lexi.c
==============================================================================
--- head/usr.bin/indent/lexi.c	Fri Jul 29 17:54:21 2016	(r303497)
+++ head/usr.bin/indent/lexi.c	Fri Jul 29 17:55:38 2016	(r303498)
@@ -191,13 +191,15 @@ lexi(void)
 		    }
 		}
 	    while (1) {
-		if (!(seensfx & 1) && (*buf_ptr == 'U' || *buf_ptr == 'u')) {
+		if (!(seensfx & 1) &&
+			(*buf_ptr == 'U' || *buf_ptr == 'u')) {
 		    CHECK_SIZE_TOKEN;
 		    *e_token++ = *buf_ptr++;
 		    seensfx |= 1;
 		    continue;
 		}
-		if (!(seensfx & 2) && strchr("fFlL", *buf_ptr)) {
+        	if (!(seensfx & 2) &&
+			(*buf_ptr == 'L' || *buf_ptr == 'l')) {
 		    CHECK_SIZE_TOKEN;
 		    if (buf_ptr[1] == buf_ptr[0])
 		        *e_token++ = *buf_ptr++;


More information about the svn-src-head mailing list