Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: src/lexer/lexer.h

Issue 50843002: Experimental parser: make the baseline lex utf8, utf16, ascii and latin1. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/lexer/lexer-shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/lexer.h
diff --git a/src/lexer/lexer.h b/src/lexer/lexer.h
index c9b762302e162d6e1f2f9699db544960a61d9668..afedb789925f27df0c503095043b8f76dfa64439 100644
--- a/src/lexer/lexer.h
+++ b/src/lexer/lexer.h
@@ -30,25 +30,9 @@
#ifndef V8_LEXER_LEXER_H
#define V8_LEXER_LEXER_H
-#if defined(WIN32) // FIXME: does this work?
-
-typedef signed char int8_t;
-typedef signed short int16_t;
-typedef signed int int32_t;
-
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-
-#else
-
-#include <stdint.h>
-#include <unistd.h>
-
-#endif // defined(WIN32)
-
#include "token.h"
#include "flags.h"
+#include "v8stdint.h"
#define YYCTYPE uint8_t
« no previous file with comments | « no previous file | src/lexer/lexer-shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698