[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp.cvs Lexer.l Lexer.l.cvs

Chris Lattner sabre at nondot.org
Mon May 21 23:56:50 PDT 2007



Changes in directory llvm/lib/AsmParser:

Lexer.cpp.cvs updated: 1.44 -> 1.45
Lexer.l updated: 1.109 -> 1.110
Lexer.l.cvs updated: 1.36 -> 1.37
---
Log message:

update comment


---
Diffs of the changes:  (+4 -4)

 Lexer.cpp.cvs |    4 ++--
 Lexer.l       |    2 +-
 Lexer.l.cvs   |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/AsmParser/Lexer.cpp.cvs
diff -u llvm/lib/AsmParser/Lexer.cpp.cvs:1.44 llvm/lib/AsmParser/Lexer.cpp.cvs:1.45
--- llvm/lib/AsmParser/Lexer.cpp.cvs:1.44	Tue May 22 01:47:55 2007
+++ llvm/lib/AsmParser/Lexer.cpp.cvs	Tue May 22 01:56:32 2007
@@ -20,7 +20,7 @@
 /* A lexical scanner generated by flex */
 
 /* Scanner skeleton version:
- * $Header: /home/vadve/shared/PublicCVS/llvm/lib/AsmParser/Lexer.cpp.cvs,v 1.44 2007/05/22 06:47:55 lattner Exp $
+ * $Header: /home/vadve/shared/PublicCVS/llvm/lib/AsmParser/Lexer.cpp.cvs,v 1.45 2007/05/22 06:56:32 lattner Exp $
  */
 
 #define FLEX_SCANNER
@@ -1946,7 +1946,7 @@
 #line 361 "/Users/sabre/cvs/llvm/lib/AsmParser/Lexer.l"
 {
                      yytext[strlen(yytext)-1] = 0;           // nuke end quote
-                     llvmAsmlval.StrVal = strdup(yytext+2);  // Nuke @, quote
+                     llvmAsmlval.StrVal = strdup(yytext+2);  // Nuke %, quote
                      return PCTSTRINGCONSTANT;
                    }
 	YY_BREAK


Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.109 llvm/lib/AsmParser/Lexer.l:1.110
--- llvm/lib/AsmParser/Lexer.l:1.109	Tue May 22 01:47:11 2007
+++ llvm/lib/AsmParser/Lexer.l	Tue May 22 01:56:32 2007
@@ -360,7 +360,7 @@
 
 {PctStringConstant} {
                      yytext[strlen(yytext)-1] = 0;           // nuke end quote
-                     llvmAsmlval.StrVal = strdup(yytext+2);  // Nuke @, quote
+                     llvmAsmlval.StrVal = strdup(yytext+2);  // Nuke %, quote
                      return PCTSTRINGCONSTANT;
                    }
 {PInteger}      { int len = strlen(yytext); 


Index: llvm/lib/AsmParser/Lexer.l.cvs
diff -u llvm/lib/AsmParser/Lexer.l.cvs:1.36 llvm/lib/AsmParser/Lexer.l.cvs:1.37
--- llvm/lib/AsmParser/Lexer.l.cvs:1.36	Tue May 22 01:47:55 2007
+++ llvm/lib/AsmParser/Lexer.l.cvs	Tue May 22 01:56:32 2007
@@ -360,7 +360,7 @@
 
 {PctStringConstant} {
                      yytext[strlen(yytext)-1] = 0;           // nuke end quote
-                     llvmAsmlval.StrVal = strdup(yytext+2);  // Nuke @, quote
+                     llvmAsmlval.StrVal = strdup(yytext+2);  // Nuke %, quote
                      return PCTSTRINGCONSTANT;
                    }
 {PInteger}      { int len = strlen(yytext); 






More information about the llvm-commits mailing list