comparison src/testdir/test3.in @ 6971:e859731ea1cd v7.4.803

patch 7.4.803 Problem: C indent does not support C11 raw strings. (Mark Lodato) Solution: Do not change indent inside the raw string.
author Bram Moolenaar <bram@vim.org>
date Tue, 28 Jul 2015 21:17:36 +0200
parents c4cb95fb4c58
children accd3a0e9bf4
comparison
equal deleted inserted replaced
6970:589a962ecc16 6971:e859731ea1cd
889 namespace111111111 889 namespace111111111
890 { 890 {
891 111111111111111111; 891 111111111111111111;
892 } 892 }
893 893
894 void getstring() {
895 /* Raw strings */
896 const char* s = R"(
897 test {
898 # comment
899 field: 123
900 }
901 )";
902 }
903
904 void getstring() {
905 const char* s = R"foo(
906 test {
907 # comment
908 field: 123
909 }
910 )foo";
911 }
912
894 /* end of AUTO */ 913 /* end of AUTO */
895 914
896 STARTTEST 915 STARTTEST
897 :set tw=0 wm=60 columns=80 noai fo=croq 916 :set tw=0 wm=60 columns=80 noai fo=croq
898 /serious/e 917 /serious/e