summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParser.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-10 18:06:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-10 18:06:26 (GMT)
commit634343c3e8c395318d4b6d9e90d97f2a59ec3ae7 (patch)
treec057576ccfa77d9f6dea07215f4ea3d9de1eb3d5 /Source/cmCommandArgumentParser.cxx
parentf01afc89f50e68af3f652437dc350d181fd097b7 (diff)
downloadCMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.zip
CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.tar.gz
CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.tar.bz2
STYLE: Fix some style issues
Diffstat (limited to 'Source/cmCommandArgumentParser.cxx')
-rw-r--r--Source/cmCommandArgumentParser.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmCommandArgumentParser.cxx b/Source/cmCommandArgumentParser.cxx
index 758e884..f492cd1 100644
--- a/Source/cmCommandArgumentParser.cxx
+++ b/Source/cmCommandArgumentParser.cxx
@@ -1,7 +1,8 @@
/* A Bison parser, made by GNU Bison 1.875d. */
/* Skeleton parser for Yacc-like parsing with Bison,
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 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
@@ -115,7 +116,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
@@ -153,7 +156,7 @@ 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 contains default but no case. */
#endif
@@ -1171,7 +1174,6 @@ yyreduce:
{
yyval.str = yyGetParser->ExpandSpecialVariable(yyvsp[-2].str,yyvsp[-1].str);
- //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
}
break;
@@ -1179,7 +1181,6 @@ yyreduce:
{
yyval.str = yyGetParser->ExpandVariable(yyvsp[-1].str);
- //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
}
break;