Skip to content

Commit b088da0

Browse files
author
Dave Lee
committed
Use custom lexing for findinstances
1 parent f5d58bb commit b088da0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

commands/FBDebugCommands.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,11 @@ def description(self):
227227
as seen above, see https://github.com/facebook/chisel/wiki/findinstances.
228228
"""
229229

230+
def lex(self, commandLine):
231+
# Can't use default shlex splitting because it strip quotes which breaks
232+
# NSPredicate syntax. Split the input into type and rest (the query).
233+
return commandLine.split(' ', 1)
234+
230235
def run(self, arguments, options):
231236
if not self.loadChiselIfNecessary():
232237
return

0 commit comments

Comments
 (0)