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

Side by Side Diff: src/d8-readline.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/d8-posix.cc ('k') | src/d8-windows.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdio.h> // NOLINT 5 #include <stdio.h> // NOLINT
6 #include <string.h> // NOLINT 6 #include <string.h> // NOLINT
7 #include <readline/readline.h> // NOLINT 7 #include <readline/readline.h> // NOLINT
8 #include <readline/history.h> // NOLINT 8 #include <readline/history.h> // NOLINT
9 9
10 // The readline includes leaves RETURN defined which breaks V8 compilation. 10 // The readline includes leaves RETURN defined which breaks V8 compilation.
11 #undef RETURN 11 #undef RETURN
12 12
13 #include "d8.h" 13 #include "src/d8.h"
14 14
15 // There are incompatibilities between different versions and different 15 // There are incompatibilities between different versions and different
16 // implementations of readline. This smooths out one known incompatibility. 16 // implementations of readline. This smooths out one known incompatibility.
17 #if RL_READLINE_VERSION >= 0x0500 17 #if RL_READLINE_VERSION >= 0x0500
18 #define completion_matches rl_completion_matches 18 #define completion_matches rl_completion_matches
19 #endif 19 #endif
20 20
21 21
22 namespace v8 { 22 namespace v8 {
23 23
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 return strdup(*str); 143 return strdup(*str);
144 } else { 144 } else {
145 current_completions.Reset(); 145 current_completions.Reset();
146 return NULL; 146 return NULL;
147 } 147 }
148 } 148 }
149 #endif // V8_SHARED 149 #endif // V8_SHARED
150 150
151 151
152 } // namespace v8 152 } // namespace v8
OLDNEW
« no previous file with comments | « src/d8-posix.cc ('k') | src/d8-windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698