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

Unified Diff: runtime/vm/token.h

Issue 9264051: Fix for bug 1229: Unary operator plus is not allowed ... except for literals. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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
Index: runtime/vm/token.h
===================================================================
--- runtime/vm/token.h (revision 3739)
+++ runtime/vm/token.h (working copy)
@@ -77,6 +77,8 @@
/* Additive operators. */ \
TOK(kADD, "+", 12, kNoAttribute) \
TOK(kSUB, "-", 12, kNoAttribute) \
+ /* A 'plus' without a trailing whitespace (handle literals). */ \
+ TOK(kTIGHTADD, "+", 12, kNoAttribute) \
\
/* Multiplicative operators */ \
TOK(kMUL, "*", 13, kNoAttribute) \

Powered by Google App Engine
This is Rietveld 408576698