summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-30 12:21:39 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 10:34:17 +0000
commitf45ac62a20b80033a7f5ccdef4a6c116b6fece24 (patch)
tree960048ceaaa7a874d88a804b2dbec76ae26c910e /soltools
parente90848edfd8cb146ab4e11eb2e62c93ed344d62f (diff)
Fix typos
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/Test.txt14
-rw-r--r--soltools/cpp/_macro.c2
2 files changed, 7 insertions, 9 deletions
diff --git a/soltools/cpp/Test.txt b/soltools/cpp/Test.txt
index e2d7159df8dd..cbf1ea2905b6 100644
--- a/soltools/cpp/Test.txt
+++ b/soltools/cpp/Test.txt
@@ -21,7 +21,7 @@
ABC
-/* Standards --------------------------------------------------------------- */
+/* Standards */
#define NOTHING
NOTHING
@@ -50,7 +50,7 @@ MAC(A,B);
MAC(X,Y)
#endif // MAC
-/* Recursions -------------------------------------------------------------- */
+/* Recursions */
#define y x
#define x y
@@ -73,7 +73,7 @@ args(t1, (args(t2, (x, y)))) // t1 (t2 (x, y))
#define __ ARGS
int foo __((int x)); // int foo (int x);
-/* Concatinations ---------------------------------------------------------- */
+/* Concatinations */
#define tail _Test
// Txt_##tail // Txt_##_Test
@@ -91,14 +91,14 @@ CAT3( a, b ) // ab::ab
#define CAT2( var ) fix##var::fix##var
CAT2( a ) // fixa::fixa
-/* Extrems ----------------------------------------------------------------- */
+/* Extremes */
#define MAKE_X( name ) name##_Test
#define MAKE_Y( name ) MAKE_X( name##_Sym )
MAKE_Y( Txt ); // Txt_Sym_Test;
-/* Extensions -------------------------------------------------------------- */
+/* Extensions */
/*
#ident "(c)# Test.txt"
@@ -109,10 +109,8 @@ MAKE_Y( Txt ); // Txt_Sym_Test;
char machine[6];
*/
-/* Last bug ----------------------------------------------------------------- */
+/* Last bug */
#define Cfstrcpy Cstrcpy
#define Cstrcpy( s1, s2 ) strcpy( s1, s2 )
Cfstrcpy(Par1,Par2 ) // blub( Par1, Par2 )
-
-/* ---------------------------------------------------------------------- */
diff --git a/soltools/cpp/_macro.c b/soltools/cpp/_macro.c
index 6d48ef6cf05d..8484035bb120 100644
--- a/soltools/cpp/_macro.c
+++ b/soltools/cpp/_macro.c
@@ -344,7 +344,7 @@ void
/** If gatherargs passed a macro validating token, this token
must become valid here.
- trp->tp+0 was checked in expandrow(), so we dont need to do it
+ trp->tp+0 was checked in expandrow(), so we don't need to do it
again here:
*/
for (i = 1; i < ntokc; i++)