summaryrefslogtreecommitdiff
path: root/Source/cmDependsJavaLexer.in.l
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-13 18:21:12 -0800
commitef8aa19c33e83ff019595fd7f8fdc29c35c336a3 (patch)
tree6501b44707b5c6a88fa5f817adee1a3ffcb0012d /Source/cmDependsJavaLexer.in.l
parent035c7fabc3b82cbc9a346c11abe2e9462b4c0379 (diff)
downloadcmake-b76f3d62b9ae70b9fe053f294d35613bb3127797.tar.gz
cmake-b76f3d62b9ae70b9fe053f294d35613bb3127797.tar.bz2
cmake-b76f3d62b9ae70b9fe053f294d35613bb3127797.zip
Imported Upstream version 2.8.10.2upstream/2.8.10.2
Diffstat (limited to 'Source/cmDependsJavaLexer.in.l')
-rw-r--r--Source/cmDependsJavaLexer.in.l16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmDependsJavaLexer.in.l b/Source/cmDependsJavaLexer.in.l
index aae7ec658..9796ad52a 100644
--- a/Source/cmDependsJavaLexer.in.l
+++ b/Source/cmDependsJavaLexer.in.l
@@ -171,18 +171,18 @@ null { PRIMITIVE; return jp_NULLLITERAL; }
"\*" { SYMBOL; return jp_TIMES; }
"\*=" { SYMBOL; return jp_TIMESEQUALS; }
-[a-z_A-Z][a-z_0-9A-Z]* {
- yyextra->AllocateParserType(yylvalp, yytext, strlen(yytext));
- return jp_NAME;
+[a-z_A-Z][a-z_0-9A-Z]* {
+ yyextra->AllocateParserType(yylvalp, yytext, strlen(yytext));
+ return jp_NAME;
}
\/\/.*\n { }
[ \f\t\n\r] { }
-. {
- std::cerr << "Unknown character: " << yytext[0]
- << " (" << (int)yytext[0] << ")" << std::endl;
- yyextra->Error("Unknown character");
- return jp_ERROR;
+. {
+ std::cerr << "Unknown character: " << yytext[0]
+ << " (" << (int)yytext[0] << ")" << std::endl;
+ yyextra->Error("Unknown character");
+ return jp_ERROR;
}
%%