mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 10:37:19 +02:00
A3
- Removed obsolete ::which_operator.
This commit is contained in:
parent
3abff20a46
commit
f495e7c385
3 changed files with 0 additions and 24 deletions
21
src/A3.cpp
21
src/A3.cpp
|
@ -1484,27 +1484,6 @@ bool A3::extract_uuid (
|
|||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool A3::which_operator (
|
||||
const std::string& input,
|
||||
char& type,
|
||||
int& precedence,
|
||||
char& associativity)
|
||||
{
|
||||
for (unsigned int i = 0; i < NUM_OPERATORS; ++i)
|
||||
{
|
||||
if (operators[i].op == input)
|
||||
{
|
||||
type = operators[i].type;
|
||||
precedence = operators[i].precedence;
|
||||
associativity = operators[i].associativity;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void A3::dump (const std::string& label) const
|
||||
{
|
||||
|
|
2
src/A3.h
2
src/A3.h
|
@ -84,8 +84,6 @@ public:
|
|||
static bool extract_id (const std::string&, std::vector <int>&);
|
||||
static bool extract_uuid (const std::string&, std::vector <std::string>&);
|
||||
|
||||
static bool which_operator (const std::string&, char&, int&, char&);
|
||||
|
||||
void dump (const std::string&) const;
|
||||
};
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
#include <stdio.h>
|
||||
#include <A3.h>
|
||||
|
||||
class Task : public std::map <std::string, std::string>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue