diff --git a/syntaxes/poweron.language.json b/syntaxes/poweron.language.json index 9bf83ad..23e0074 100644 --- a/syntaxes/poweron.language.json +++ b/syntaxes/poweron.language.json @@ -15,9 +15,6 @@ }, { "include": "#comment" - }, - { - "include": "#operator" } ], "repository": { @@ -54,7 +51,7 @@ "patterns": [ { "name": "keyword.control.poweron", - "match": "[\\s]*(?i)(IF|ELSE|WHILE|FOR)[\\s]+" + "match": "(?i)(?|<|<=|>=|\\*|<>)\\b(?![?!])" + } + ] + }, + "character": { "name": "string.quoted.double.poweron", "begin": "\"", @@ -134,7 +143,7 @@ }, { "name": "storage.type.poweron", - "match": "[\\s]*(?i)(CHARACTER|CODE|DATE|FLOAT|MONEY|NUMBER|RATE)[\\s]+" + "match": "(?i)(?|<|<=|>=|\\*|<>|\\|)[\\s]+" - } - ] - }, - "equalOperator": { - "patterns": [ - { - "name": "support.function.thing.poweron", - "match": "=" - } - ] - }, "variable": { "patterns": [ {