This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
12c32e944d
rust
/
src
/
test
/
run-pass
/
negative.rs
6 lines
69 B
Rust
Raw
Normal View
History
Unescape
Escape
Add support for negative literals.
2011-09-02 00:39:44 -05:00
fn
main
(
)
{
Convert alt to match. Stop parsing alt
2012-08-06 14:34:08 -05:00
match
-
5
{
Switch alts to use arrows
2012-08-03 21:59:04 -05:00
-
5
=
>
{
}
_
=
>
{
fail
}
Add support for negative literals.
2011-09-02 00:39:44 -05:00
}
}
Reference in New Issue
Copy Permalink