mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
8030d44826
Unlike other prefix operators, unary minus is folded into the NumberLiteralExpr in the parser. This commit recreates this effect in the lexer-based syntax map so that token ranges will include the leading minus. rdar://problem/20205885