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

Issue 10913176: Reject non-ASCII identifiers. (Closed)

Created:
8 years, 3 months ago by ahe
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Reject non-ASCII identifiers. Also change error handling in the scanner. Committed: https://code.google.com/p/dart/source/detail?r=12175

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -59 lines) Patch
M dart/lib/compiler/implementation/scanner/array_based_scanner.dart View 2 chunks +4 lines, -5 lines 0 comments Download
M dart/lib/compiler/implementation/scanner/scanner.dart View 9 chunks +17 lines, -25 lines 0 comments Download
M dart/lib/compiler/implementation/scanner/scanner_task.dart View 1 chunk +1 line, -14 lines 0 comments Download
M dart/lib/compiler/implementation/scanner/token.dart View 2 chunks +5 lines, -0 lines 0 comments Download
M dart/lib/compiler/implementation/tools/mini_parser.dart View 2 chunks +1 line, -13 lines 0 comments Download
M dart/tests/co19/co19-dart2js.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ahe
8 years, 3 months ago (2012-09-10 19:40:21 UTC) #1
messick
On 2012/09/10 19:40:21, ahe wrote: Nice!
8 years, 3 months ago (2012-09-10 19:52:03 UTC) #2
ngeoffray
So where in the code is the bad input reported now?
8 years, 3 months ago (2012-09-11 09:00:38 UTC) #3
ahe
On 2012/09/11 09:00:38, ngeoffray wrote: > So where in the code is the bad input ...
8 years, 3 months ago (2012-09-11 09:01:35 UTC) #4
ngeoffray
8 years, 3 months ago (2012-09-11 09:03:53 UTC) #5
On 2012/09/11 09:01:35, ahe wrote:
> On 2012/09/11 09:00:38, ngeoffray wrote:
> > So where in the code is the bad input reported now?
> 
> It is reported by the parser. Bad input is an unexpected token.

OK. Change LGTM

Powered by Google App Engine
This is Rietveld 408576698