Skip to content

Commit

Permalink
- Minor fix for parsing type constants.
Browse files Browse the repository at this point in the history
Example:
	var Hello::obj = File.new(__FILE__);
	say Hello::obj::O_APPEND;		 # now works correctly
	say Hello::obj;				 # points at the file obj
  • Loading branch information
trizen committed Jul 5, 2015
1 parent 0108fee commit 966223c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Sidef/Parser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,6 @@ package Sidef::Parser {
if (
not $self->{_want_name}
and $class ne $self->{class}
and index($class, '::') == -1
and defined(
eval {
local $self->{_want_name} = 1;
Expand Down

0 comments on commit 966223c

Please sign in to comment.