mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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