Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Build/Lasso.sublime-build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"target": "exec",
"name": "Run",
"shell_cmd": "/usr/bin/lasso9 \"$file\""
"shell_cmd": "lasso9 \"$file\""
}
]
}
}
4 changes: 2 additions & 2 deletions Build/check_syntax.sh
Original file line number Diff line number Diff line change
@@ -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
fi
4 changes: 2 additions & 2 deletions Syntaxes/Lasso.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<string>(?m)\A\s*(?=&lt;|\[)</string>

<key>end</key>
<string>\a</string>
<string>\Z</string>

<key>patterns</key>
<array>
Expand All @@ -58,7 +58,7 @@
<string>\A</string>

<key>end</key>
<string>\a</string>
<string>\Z</string>

<key>patterns</key>
<array>
Expand Down
4 changes: 2 additions & 2 deletions lasso_syntax_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -23,4 +23,4 @@ def run(self, **kwargs):
view.show(view.text_point(row, col))

def is_enabled(self, **kwargs):
return True
return True