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

Side by Side Diff: src/lexer/lexer.gyp

Issue 78713002: Experimental lexer generator: generate code for utf-16 character classes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Code review (dcarney) Created 7 years, 1 month 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/char-predicates.h ('k') | src/lexer/lexer_py.re » ('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 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 '../../tools/lexer_generator/*.jinja', 67 '../../tools/lexer_generator/*.jinja',
68 ], 68 ],
69 'outputs': [ 69 'outputs': [
70 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', 70 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc',
71 ], 71 ],
72 'action': [ 72 'action': [
73 'python', 73 'python',
74 '../../tools/lexer_generator/generator.py', 74 '../../tools/lexer_generator/generator.py',
75 '--re=../../src/lexer/lexer_py.re', 75 '--re=../../src/lexer/lexer_py.re',
76 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc', 76 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_latin1.cc',
77 '--char-type=uint8_t', 77 '--encoding=latin1',
78 ], 78 ],
79 }, 79 },
80 { 80 {
81 'action_name': 'codegen_16', 81 'action_name': 'codegen_16',
82 'inputs': [ 82 'inputs': [
83 '../../src/lexer/lexer_py.re', 83 '../../src/lexer/lexer_py.re',
84 '../../tools/lexer_generator/*.py', 84 '../../tools/lexer_generator/*.py',
85 '../../tools/lexer_generator/*.jinja', 85 '../../tools/lexer_generator/*.jinja',
86 ], 86 ],
87 'outputs': [ 87 'outputs': [
88 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', 88 '<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc',
89 ], 89 ],
90 'action': [ 90 'action': [
91 'python', 91 'python',
92 '../../tools/lexer_generator/generator.py', 92 '../../tools/lexer_generator/generator.py',
93 '--re=../../src/lexer/lexer_py.re', 93 '--re=../../src/lexer/lexer_py.re',
94 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc', 94 '--code=<(SHARED_INTERMEDIATE_DIR)/generated_lexer_utf16.cc',
95 '--char-type=uint16_t', 95 '--encoding=utf16',
96 ], 96 ],
97 }, 97 },
98 ], 98 ],
99 }, 99 },
100 ], 100 ],
101 } 101 }
OLDNEW
« no previous file with comments | « src/char-predicates.h ('k') | src/lexer/lexer_py.re » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698