Skip to content

Commit

Permalink
2010-03-03 Rolf Bjarne Kvinge <RKvinge@novell.com>
Browse files Browse the repository at this point in the history
	* trace.c: We need to parse exclude tokens ('-') before string tokens,
	since the exclude token is a valid string character.

svn path=/trunk/mono/; revision=152906
  • Loading branch information
rolfbjarne authored and vargaz committed Sep 22, 2010
1 parent 961432a commit 034acd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions mono/mini/ChangeLog
@@ -1,3 +1,8 @@
2010-03-03 Rolf Bjarne Kvinge <RKvinge@novell.com>

* trace.c: We need to parse exclude tokens ('-') before string tokens,
since the exclude token is a valid string character.

2010-07-30 Rodrigo Kumpera <rkumpera@novell.com>

* method-to-ir.c (mono_method_to_ir): Handle method with invalid
Expand Down
8 changes: 4 additions & 4 deletions mono/mini/trace.c
Expand Up @@ -132,6 +132,10 @@ get_token (void)
get_string ();
return TOKEN_CLASS;
}
if (*input == '-'){
input++;
return TOKEN_EXCLUDE;
}
if (is_filenamechar (*input)){
get_string ();
if (strcmp (value, "all") == 0)
Expand All @@ -142,10 +146,6 @@ get_token (void)
return TOKEN_DISABLED;
return TOKEN_STRING;
}
if (*input == '-'){
input++;
return TOKEN_EXCLUDE;
}
if (*input == ','){
input++;
return TOKEN_SEPARATOR;
Expand Down

0 comments on commit 034acd4

Please sign in to comment.