diff --git a/Build/Lasso.sublime-build b/Build/Lasso.sublime-build index 3d3d86b..7e268dd 100644 --- a/Build/Lasso.sublime-build +++ b/Build/Lasso.sublime-build @@ -6,7 +6,7 @@ { "target": "exec", "name": "Run", - "shell_cmd": "/usr/bin/lasso9 \"$file\"" + "shell_cmd": "lasso9 \"$file\"" } ] -} \ No newline at end of file +} diff --git a/Build/check_syntax.sh b/Build/check_syntax.sh index 17f0d58..59854bd 100755 --- a/Build/check_syntax.sh +++ b/Build/check_syntax.sh @@ -1,9 +1,9 @@ #! /bin/bash -result=$(/usr/bin/lassoc "$1" -n -o /tmp/lassoTMbundlecheck 2>&1) +result=$(lassoc "$1" -n -o /tmp/lassoTMbundlecheck 2>&1) if [ "$result" == "" ]; then echo "No Problems Found" else echo $result -fi \ No newline at end of file +fi diff --git a/Syntaxes/Lasso.tmLanguage b/Syntaxes/Lasso.tmLanguage index fe30d5b..aa817a1 100644 --- a/Syntaxes/Lasso.tmLanguage +++ b/Syntaxes/Lasso.tmLanguage @@ -39,7 +39,7 @@ (?m)\A\s*(?=<|\[) end - \a + \Z patterns @@ -58,7 +58,7 @@ \A end - \a + \Z patterns diff --git a/lasso_syntax_check.py b/lasso_syntax_check.py index 94158ac..ed9657e 100644 --- a/lasso_syntax_check.py +++ b/lasso_syntax_check.py @@ -5,7 +5,7 @@ class LassoCheckSyntaxCommand(sublime_plugin.WindowCommand): def run(self, **kwargs): file_regex = "^Compiler error. ([^:])*: (.*?)line: (\\d+), col: (\\d+).*$" - cmd = ['/usr/bin/lassoc', self.window.active_view().file_name(), '-n', '-o', '/dev/null'] + cmd = ['lassoc', self.window.active_view().file_name(), '-n', '-o', '/dev/null'] proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) data = proc.communicate()[0].decode("utf-8") or "No Problems Found" @@ -23,4 +23,4 @@ def run(self, **kwargs): view.show(view.text_point(row, col)) def is_enabled(self, **kwargs): - return True \ No newline at end of file + return True