summaryrefslogtreecommitdiff
path: root/tests/examplefiles/test.psl
diff options
context:
space:
mode:
authorJustin Hendrick <justinjhendrick@gmail.com>2014-07-08 13:40:05 -0400
committerJustin Hendrick <justinjhendrick@gmail.com>2014-07-08 13:40:05 -0400
commit0d4f84c72fb5a008aaf0f76aed8e0de6f0cc73ee (patch)
treed686f9f0d3e96330ed8780bd52f99cf314be57c8 /tests/examplefiles/test.psl
parent1f2829086f0640b36149f87b7de5c122f9905c9e (diff)
downloadpygments-0d4f84c72fb5a008aaf0f76aed8e0de6f0cc73ee.tar.gz
ParaSailLexer: and=, or=, and xor= work. A few more comments
Diffstat (limited to 'tests/examplefiles/test.psl')
-rw-r--r--tests/examplefiles/test.psl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/examplefiles/test.psl b/tests/examplefiles/test.psl
index 422cbcc7..3ac99498 100644
--- a/tests/examplefiles/test.psl
+++ b/tests/examplefiles/test.psl
@@ -27,6 +27,10 @@ func Boolean_Examples(B : Bool) is
const Or := B or #false // Parallel execution of operands
const Or_Else := B or else #false // Short-Cirtuit
const Xor := B xor #true
+ var Result : Bool := #true;
+ Result and= #false;
+ Result or= #true;
+ Result xor= #false;
end func Boolean_Examples
// Booleans are a special type of enumeration
// All enumerations are preceded by a sharp '#'