- forgot to rename these header guards when i ported the lexer from an earlier project of mine

Fri, 17 Jan 2014 22:57:40 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Fri, 17 Jan 2014 22:57:40 +0200
changeset 80
2ed3430fdd08
parent 79
2425fa6a4f21
child 81
071715c17296

- forgot to rename these header guards when i ported the lexer from an earlier project of mine

src/lexer.h file | annotate | diff | comparison | revisions
src/lexer_scanner.h file | annotate | diff | comparison | revisions
--- a/src/lexer.h	Fri Jan 17 22:55:13 2014 +0200
+++ b/src/lexer.h	Fri Jan 17 22:57:40 2014 +0200
@@ -28,8 +28,8 @@
 	SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef LEXER_H
-#define LEXER_H
+#ifndef BOTC_LEXER_H
+#define BOTC_LEXER_H
 
 #include "main.h"
 #include "lexer_scanner.h"
@@ -112,4 +112,4 @@
 	static string describe_token_private (e_token tok_type, token* tok);
 };
 
-#endif // LEXER_H
+#endif // BOTC_LEXER_H
--- a/src/lexer_scanner.h	Fri Jan 17 22:55:13 2014 +0200
+++ b/src/lexer_scanner.h	Fri Jan 17 22:57:40 2014 +0200
@@ -28,8 +28,8 @@
 	SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifndef IRIS_SCANNER_H
-#define IRIS_SCANNER_H
+#ifndef BOTC_LEXER_SCANNER_H
+#define BOTC_LEXER_SCANNER_H
 
 #include <climits>
 #include "main.h"
@@ -89,9 +89,9 @@
 		static string get_token_string (e_token a);
 
 	private:
-		char*			m_data,
-			*			m_ptr,
-			*			m_line_break_pos;
+		char*			m_data;
+		char*			m_ptr;
+		char*			m_line_break_pos;
 		string			m_token_text,
 						m_last_token;
 		e_token			m_token_type;
@@ -112,5 +112,4 @@
 		void			skip (int chars);
 };
 
-#endif // IRIS_SCANNER_H
-
+#endif // BOTC_LEXER_SCANNER_H

mercurial