[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevelop/languages/cpp/parser/rpp/test
From:       Roberto Raggi <roberto () kdevelop ! org>
Date:       2006-04-02 16:22:10
Message-ID: 1143994930.293681.6862.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 525693 by raggi:

nicer example


 M  +9 -10     t006.cpp  


--- trunk/KDE/kdevelop/languages/cpp/parser/rpp/test/t006.cpp #525692:525693
@@ -1,10 +1,9 @@
-/* a comment
-   here
-   here
-*/
-#define MY_COOL_MACRO \
-  line1 \
-  line2 \
-  line3 \
-  line4
-MY_COOL_MACRO MY_COOL_MACRO
+
+#define code(more) \
+ int main () \
+ { more \
+ }
+
+code(int x;
+     int y)
+
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic