mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
Made a Regex class that wraps either boost::regex or wxRegEx (split from ScriptRegex).
Use Regex for keywords. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1196 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+10
-1
@@ -28,7 +28,7 @@
|
||||
#include <wx/wx.h>
|
||||
#include <wx/image.h>
|
||||
#include <wx/datetime.h>
|
||||
#include <wx/regex.h>
|
||||
#include <wx/regex.h> // TODO : remove, see regex.hpp
|
||||
|
||||
// Std headers
|
||||
#include <vector>
|
||||
@@ -78,6 +78,15 @@ class FileName : public wxString {
|
||||
#include "locale.hpp"
|
||||
#include "error.hpp"
|
||||
#include "reflect.hpp"
|
||||
#include "regex.hpp"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
//# pragma conform(forScope,on) // in "for(int x=..);" x goes out of scope after the for
|
||||
// somehow forScope pragma doesn't work in precompiled headers, use this hack instead:
|
||||
#ifdef _DEBUG
|
||||
#define for if(false);else for
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------- : EOF
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user