aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-09-12 01:23:02 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit078fe50351224d28592f1b2907585bd4fa551adf (patch)
tree7ff210565c56a72c4432247f5065c0a4afc46ff0
parent8476736418d287cb9e652c3c886211699ddb49be (diff)
Allow '+' character in dependency name
-rw-r--r--.vscode/c_cpp_properties.json17
-rw-r--r--project.conf4
-rw-r--r--src/Conf.cpp2
3 files changed, 20 insertions, 3 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
new file mode 100644
index 0000000..10acb77
--- /dev/null
+++ b/.vscode/c_cpp_properties.json
@@ -0,0 +1,17 @@
+{
+ "configurations": [
+ {
+ "name": "Linux",
+ "includePath": [
+ "${workspaceFolder}/**"
+ ],
+ "defines": [],
+ "compilerPath": "/usr/bin/gcc",
+ "cStandard": "c11",
+ "cppStandard": "c++14",
+ "intelliSenseMode": "clang-x64",
+ "compileCommands": "${workspaceFolder}/compile_commands.json"
+ }
+ ],
+ "version": 4
+}
diff --git a/project.conf b/project.conf
index ddca7ec..f1c2b23 100644
--- a/project.conf
+++ b/project.conf
@@ -1,10 +1,10 @@
[package]
name = "sibs"
type = "executable"
-version = "0.1.3"
+version = "0.1.4"
authors = ["DEC05EBA <0xdec05eba@gmail.com>"]
tests = "tests"
-platforms = ["linux32", "linux64", "win64"]
+platforms = ["linux32", "linux64", "win32", "win64"]
ignore_dirs = ["cmake", "cmake-build-debug", "build", "distribute", "examples"]
[dependencies]
diff --git a/src/Conf.cpp b/src/Conf.cpp
index c71c7bc..6a8de19 100644
--- a/src/Conf.cpp
+++ b/src/Conf.cpp
@@ -189,7 +189,7 @@ namespace sibs
bool isIdentifierChar(u32 c)
{
- return isAlpha(c) || isDigit(c) || c == '_' || c == '-' || c == '.';
+ return isAlpha(c) || isDigit(c) || c == '_' || c == '-' || c == '.' || c == '+';
}
private:
u8string code;