|Whitespace in OpCompare's LessThan in Xbase grammar [message #1750002]
||Thu, 15 December 2016 02:35
| Larry LeBron
Registered: October 2015
I was having issues implementing my own versions of boolean comparison operators in my grammar, which extends Xbase.|
I was having issues with "<=" only, while all the rest were working fine.
I looked at Xbase and found that the OpCompare rule is written as:
'>=' | '<' '=' | '>' | '<' ;
The less than equals operator is written to allow whitespace between the symbols. When I replicated it in my grammar, my problems went away. What is the reason for this?
[Updated on: Thu, 15 December 2016 03:09]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02821 seconds