diff options
author | Lars Thorsen <[email protected]> | 2016-06-13 14:42:51 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2016-06-13 14:42:51 +0200 |
commit | ce486edc3d52168ff57eb321514beca4ac152097 (patch) | |
tree | 17e0544ec17b7d7250e8f27596f19ed29b47c3f7 /lib/xmerl/src/xmerl_xpath_scan.erl | |
parent | b46b2d3abfe188517c70e399cb79be3da3d32e55 (diff) | |
parent | 98e6d88d8eaa09a99b5027a50f876c64864e8ce3 (diff) | |
download | otp-ce486edc3d52168ff57eb321514beca4ac152097.tar.gz otp-ce486edc3d52168ff57eb321514beca4ac152097.tar.bz2 otp-ce486edc3d52168ff57eb321514beca4ac152097.zip |
Merge branch 'kostis/xmerl-comment-out-unreachable-clauses/PR-1062'
* kostis/xmerl-comment-out-unreachable-clauses/PR-1062:
xmerl: Comment out unreachable clauses
Diffstat (limited to 'lib/xmerl/src/xmerl_xpath_scan.erl')
-rw-r--r-- | lib/xmerl/src/xmerl_xpath_scan.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/xmerl/src/xmerl_xpath_scan.erl b/lib/xmerl/src/xmerl_xpath_scan.erl index 5ef5dce737..9032a01eca 100644 --- a/lib/xmerl/src/xmerl_xpath_scan.erl +++ b/lib/xmerl/src/xmerl_xpath_scan.erl @@ -286,13 +286,13 @@ strip_ws(T) -> T. -special_token('@') -> true; +%% special_token('@') -> true; special_token('::') -> true; special_token(',') -> true; special_token('(') -> true; special_token('[') -> true; special_token('/') -> true; -special_token('//') -> true; +%% special_token('//') -> true; special_token('|') -> true; special_token('+') -> true; special_token('-') -> true; @@ -306,5 +306,4 @@ special_token('and') -> true; special_token('or') -> true; special_token('mod') -> true; special_token('div') -> true; -special_token(_) -> - false. +special_token(_) -> false. |