Skip to content

Commit 39b020e

Browse files
authored
Added missing operators. (#97)
1 parent ad8afdf commit 39b020e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/wake/parser.wx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,9 @@ Class Parser
493493
Select Toke
494494
Case "to"
495495
ident=Parse()
496-
Case "*","/","+","-","&","|","~~"
496+
Case "*","/","mod","+","-","shl","shr","&","|","~~"
497497
ident=Parse()
498-
Case "*=","/=","+=","-=","&=","|=","~~="
498+
Case "*=","/=","mod=","+=","-=","shl=","shr=","&=","|=","~~="
499499
ident=Parse()
500500
Case "<",">","<=",">=","=","<>","<=>"
501501
ident=Parse()
@@ -506,7 +506,7 @@ Class Parser
506506
Parse( "]" )
507507
If CParse( "=" ) ident="[]=" Else ident="[]"
508508
Default
509-
Error( "Operator must be one of: * / + - & | ~~ [] < > <= >= = <> <=>" )
509+
Error( "Operator must be one of: * / Mod + - & Shl Shr | ~~ [] < > <= >= = <> <=>" )
510510
End
511511

512512
Case "method"

src/wake/wx.wx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Using std.collections
4646
Using libc
4747

4848
'Make sure to rebuildall after changing this!
49-
Const WAKE_VERSION:= "1.1.0"
49+
Const WAKE_VERSION:= "1.1.1"
5050

5151
'For 'emergency patch' versions, 'b', 'c' etc...
5252
Const WAKE_VERSION_EXT:=""

0 commit comments

Comments
 (0)