Skip to content

Commit ae4c0ff

Browse files
Bug: Fix Matches not matching anything!
The error was the /gmi flags, now it’s much stricter and therefore *works*
1 parent 7a8ed5c commit ae4c0ff

File tree

3 files changed

+90
-157
lines changed

3 files changed

+90
-157
lines changed

LSLint/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ Kudos to the W-Hat team for releasing the code as free and open-source: https://
66

77
The binary should be compilable under pretty much anything that is POSIX compliant, but, unfortunately, my own outdated macOS Big Sur seems to have severe issues with bison/lex and it doesn't compile. The version copied here has been retrieved directly from the latest nightly build for macOS (Intel), so it might not work under ARM-based Macs.
88

9-
To fully parse the latest LSL syntax, including the OpenSimulator and Aurora extensions, the linter requires a so-called `builtins.txt` file. If you grab it from GitHub, by default you just get the pre-generated version for plain vanilla LSL (i.e., no OSSL extensions). To generate your own version, you'll need to clone that repository, and then, under the `./lsl2dfg` directory, run:
9+
To fully parse the latest LSL syntax, including the OpenSimulator and Aurora extensions, the linter requires a so-called `builtins.txt` file. If you grab it from GitHub, by default you just get the pre-generated version for plain vanilla LSL (i.e., no OSSL extensions), which I also included [here](./builtins-only-lsl.txt). To generate your own version, you'll need to clone that repository, and then, under the `./lsl2dfg` directory, run:
1010

1111

1212
```bash
1313
python2.7 ./LSL2dfg.py -d ../database/kwdb.xml -f builtinstxt -y > /tmp/builtins.txt
1414
```
1515
(note that the tool is supposed to run under Python 3.2 as well, but, these days, we all have more current versions of Python, so it's safer to launch 2.7 instead).
1616

17-
The `builtins.txt` file thus generated needs to get the first line (a comment) removed, or else `lslint` will choke on it. By default, it should be on the following directory:
17+
<!--The `builtins.txt` file thus generated needs to get the first line (a comment) removed, or else `lslint` will choke on it.--> By default, `builtins.txt` should be on the following directory:
1818

1919
`~/Library/Application\ Support/Nova/Extensions/gwynethllewelyn.LindenScriptingLanguage/LSLint/`
2020

0 commit comments

Comments
 (0)