[geany/geany] e89c4a: Rust: Add some more syntax examples to the CTags test file.
SiegeLord
git-noreply at xxxxx
Wed Apr 2 17:05:57 UTC 2014
Branch: refs/heads/master
Author: SiegeLord <slabode at aim.com>
Committer: SiegeLord <slabode at aim.com>
Date: Wed, 02 Apr 2014 17:05:57 UTC
Commit: e89c4af47cc71f7dcf61e6069629dee0a03c3895
https://github.com/geany/geany/commit/e89c4af47cc71f7dcf61e6069629dee0a03c3895
Log Message:
-----------
Rust: Add some more syntax examples to the CTags test file.
Also, made it compile again.
Modified Paths:
--------------
tests/ctags/test_input.rs
tests/ctags/test_input2.rs
Modified: tests/ctags/test_input.rs
6 files changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -14,10 +14,8 @@ pub struct A
pub struct B
{
- #![cfg(test)]
#[cfg(test)]
foo: int,
- #![cfg(test)]
bar: int
}
@@ -65,6 +63,10 @@ fn main() {
[
fn ignored_inside_macro() {}
]
+ ignore!
+ {
+ fn ignored_inside_macro() {}
+ }
let _ = "fn ignored_in_string() {}
";
Modified: tests/ctags/test_input2.rs
4 files changed, 3 insertions(+), 1 deletions(-)
===================================================================
@@ -10,7 +10,9 @@ pub fn foo_bar_test_func(apples:fruit::SomeStruct,(oranges,lemon):(int,int))->in
pub mod fruit {
pub struct SomeStruct{
- red_value:int,green_value:int,blue_value:int
+ pub red_value: int,
+ pub green_value: int,
+ pub blue_value: int
}
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list