diff --git a/src/cscope.coffee b/src/cscope.coffee index 417d857..7046b26 100644 --- a/src/cscope.coffee +++ b/src/cscope.coffee @@ -8,9 +8,9 @@ nexpect = require 'nexpect' findSymbolCmd = "1" funcsCalledByCmd = "2" funcsCallingCmd = "3" -findTextStringCmd = "4" # FIXME: only same dir +# findTextStringCmd = "4" # FIXME: only same dir # changeTextStringCmd = "5" # TODO: do i need this at all? -findEgrepPatternCmd = "6" +# findEgrepPatternCmd = "6" # FIXME: only same dir findFileCmd = "7" findFilesIncludingCmd = "8" findAssignCmd = "9" @@ -72,14 +72,14 @@ funcsCalledBy = (symbol, db, callback) -> funcsCalling = (symbol, db, callback) -> genericFind funcsCallingCmd, symbol, db, callback -findTextString = (symbol, db, callback) -> - genericFind findTextStringCmd, symbol, db, callback +# findTextString = (symbol, db, callback) -> +# genericFind findTextStringCmd, symbol, db, callback # changeTextString = (symbol, db, callback) -> # genericFind changeTextStringCmd, symbol, db, callback -findEgrepPattern = (symbol, db, callback) -> - genericFind findEgrepPatternCmd, symbol, db, callback +# findEgrepPattern = (symbol, db, callback) -> +# genericFind findEgrepPatternCmd, symbol, db, callback findFile = (symbol, db, callback) -> genericFind findFileCmd, symbol, db, callback @@ -95,11 +95,11 @@ printResult = (results) -> console.log "file: #{r.file}, sym: #{r.sym}, line: #{r.line}" # findSymbol symbolToSearch, dbPath, printResult -# funcsCalledBy symbolToSearch, dbPath, printResult +funcsCalledBy symbolToSearch, dbPath, printResult # funcsCalling symbolToSearch, dbPath, printResult # findTextString symbolToSearch, dbPath, printResult # changeTextString symbolToSearch, dbPath, printResult -findEgrepPattern symbolToSearch, dbPath, printResult +# findEgrepPattern symbolToSearch, dbPath, printResult # findFile symbolToSearch, dbPath, printResult # findFilesIncluding symbolToSearch, dbPath, printResult # findAssign symbolToSearch, dbPath, printResult