summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParser.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-10 18:15:15 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-10 18:15:15 (GMT)
commitd77fbb9640900294e5a32305188c89a3e70e6cc5 (patch)
tree50d36cc5b6773d2172a749135a8b3ee1e803c64e /Source/cmCommandArgumentParser.cxx
parent20c27063ddbf22b5a90d27a2d45bd1b3d140e532 (diff)
downloadCMake-d77fbb9640900294e5a32305188c89a3e70e6cc5.zip
CMake-d77fbb9640900294e5a32305188c89a3e70e6cc5.tar.gz
CMake-d77fbb9640900294e5a32305188c89a3e70e6cc5.tar.bz2
STYLE: fix line length
Diffstat (limited to 'Source/cmCommandArgumentParser.cxx')
-rw-r--r--Source/cmCommandArgumentParser.cxx21
1 files changed, 14 insertions, 7 deletions
diff --git a/Source/cmCommandArgumentParser.cxx b/Source/cmCommandArgumentParser.cxx
index 8fa88d1..1f219dd 100644
--- a/Source/cmCommandArgumentParser.cxx
+++ b/Source/cmCommandArgumentParser.cxx
@@ -1,7 +1,8 @@
/* A Bison parser, made by GNU Bison 2.1. */
-/* Skeleton parser for Yacc-like parsing with Bison,
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+/* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984,
+ 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation,
+ Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -118,7 +119,9 @@ This file must be translated to C and modified to build everywhere.
Run bison like this:
- bison --yacc --name-prefix=cmCommandArgument_yy --defines=cmCommandArgumentParserTokens.h -ocmCommandArgumentParser.cxx cmCommandArgumentParser.y
+ bison --yacc --name-prefix=cmCommandArgument_yy
+ --defines=cmCommandArgumentParserTokens.h -ocmCommandArgumentParser.cxx
+ cmCommandArgumentParser.y
Modify cmCommandArgumentParser.cxx:
- remove TABs
@@ -162,7 +165,8 @@ static void cmCommandArgumentError(yyscan_t yyscanner, const char* message);
#endif
#ifdef _MSC_VER
# pragma warning (disable: 4102) /* Unused goto label. */
-# pragma warning (disable: 4065) /* Switch statement contains default but no case. */
+# pragma warning (disable: 4065) /* Switch statement contains default but no
+ case. */
#endif
@@ -1287,8 +1291,10 @@ yyreduce:
case 15:
#line 166 "cmCommandArgumentParser.y"
{
- (yyval.str) = yyGetParser->ExpandSpecialVariable((yyvsp[-2].str),(yyvsp[-1].str));
- //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
+ (yyval.str) =
+ yyGetParser->ExpandSpecialVariable((yyvsp[-2].str),(yyvsp[-1].str));
+ //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "]
+ //[" << $<str>3 << "]" << std::endl;
}
break;
@@ -1296,7 +1302,8 @@ yyreduce:
#line 172 "cmCommandArgumentParser.y"
{
(yyval.str) = yyGetParser->ExpandVariable((yyvsp[-1].str));
- //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
+ //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "]
+ //[" << $<str>3 << "]" << std::endl;
}
break;