From f45ac62a20b80033a7f5ccdef4a6c116b6fece24 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 30 Sep 2015 12:21:39 +0200 Subject: Fix typos Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- soltools/cpp/Test.txt | 14 ++++++-------- soltools/cpp/_macro.c | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'soltools') 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++) -- cgit