MC/AsmLexer: Raise LexUntilEndOfStatement to MCAsmLexer.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 12 Jul 2010 20:32:33 +0000 (20:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 12 Jul 2010 20:32:33 +0000 (20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108189 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCParser/AsmLexer.h
include/llvm/MC/MCParser/MCAsmLexer.h

index 94e24acce09e12c5ea278e6ece75f0c52bd4b536..21878899cac1ebdaea44a5409754cffc1ca14829 100644 (file)
@@ -46,7 +46,7 @@ public:
   
   void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
   
-  StringRef LexUntilEndOfStatement();
+  virtual StringRef LexUntilEndOfStatement();
 
   bool isAtStartOfComment(char Char);
   
index 9ae9c420ebe3cebf552f3a50093eb832eadcf900..d690e810bd39f85c83c826e4d07c2432a7783256 100644 (file)
@@ -143,6 +143,8 @@ public:
     return CurTok = LexToken();
   }
 
+  virtual StringRef LexUntilEndOfStatement() = 0;
+
   /// getLoc - Get the current source location.
   SMLoc getLoc() const;