From b8479bf7d4f211f77d10c09ae1829bd2d1bfa524 Mon Sep 17 00:00:00 2001 From: mental Date: Sat, 12 Aug 2006 07:09:54 +0000 Subject: [PATCH] fix bug with implicit paths --- share/extensions/simplepath.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/extensions/simplepath.rb b/share/extensions/simplepath.rb index 0b6e122bf..7c634fe24 100755 --- a/share/extensions/simplepath.rb +++ b/share/extensions/simplepath.rb @@ -96,6 +96,9 @@ def parsePath(d) outputCommand = command.upcase else raise 'Invalid number of parameters' if isCommand + end + + unless isCommand param = token.send PATHDEFS[outputCommand].casts[params.length] if command =~ /[a-z]/ case PATHDEFS[outputCommand].coord_types[params.length] -- 2.30.2