Skip to content

Commit d77624e

Browse files
committed
Addressd an issue that was causing complex expressions ending in )> to throw an exception parsing <IF IF>.
1 parent 486f767 commit d77624e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CodeGenEngine/Tokenizer.dbl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,8 +1932,10 @@ namespace CodeGen.Engine
19321932
startedToken = true
19331933
startedTokenIndex = ix
19341934
end
1935-
else if(templateCode[ix] == '(' || templateCode[ix] == ')')
1935+
else if(templateCode[ix] == '(' || templateCode[ix] == ')') then
19361936
mreturn Tuple.Create(ix, ix + 1, userTokenValidity)
1937+
else if(templateCode[ix] == '>')
1938+
mreturn ^null
19371939
end
19381940
else
19391941
begin

0 commit comments

Comments
 (0)