aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/src/xmerl_xpath_scan.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-06-13 14:42:51 +0200
committerLars Thorsen <[email protected]>2016-06-13 14:42:51 +0200
commitce486edc3d52168ff57eb321514beca4ac152097 (patch)
tree17e0544ec17b7d7250e8f27596f19ed29b47c3f7 /lib/xmerl/src/xmerl_xpath_scan.erl
parentb46b2d3abfe188517c70e399cb79be3da3d32e55 (diff)
parent98e6d88d8eaa09a99b5027a50f876c64864e8ce3 (diff)
downloadotp-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.erl7
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.