quote single dots only
This commit is contained in:
@@ -442,7 +442,9 @@ fn non_quoted_token<Iter: Iterator<Item = char>>(mut iter: Iter) -> bool {
|
|||||||
if let Some(c) = iter.next() {
|
if let Some(c) = iter.next() {
|
||||||
if small_letter_char!(c) {
|
if small_letter_char!(c) {
|
||||||
iter.all(|c| alpha_numeric_char!(c))
|
iter.all(|c| alpha_numeric_char!(c))
|
||||||
} else if c != '.' && graphic_token_char!(c) {
|
} else if c == '.' {
|
||||||
|
iter.next().is_some()
|
||||||
|
} else if graphic_token_char!(c) {
|
||||||
non_quoted_graphic_token(iter, c)
|
non_quoted_graphic_token(iter, c)
|
||||||
} else if semicolon_char!(c) {
|
} else if semicolon_char!(c) {
|
||||||
iter.next().is_none()
|
iter.next().is_none()
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
atom(Value),
|
atom(Value),
|
||||||
atom_chars(Value, ValueChars),
|
atom_chars(Value, ValueChars),
|
||||||
'$list_last_item'(ValueChars, Char),
|
'$list_last_item'(ValueChars, Char),
|
||||||
Char \== '.',
|
ValueChars \== ['.'],
|
||||||
'$graphic_token_char'(Char).
|
'$graphic_token_char'(Char).
|
||||||
|
|
||||||
'$write_eqs_and_read_input'(B, VarList) :-
|
'$write_eqs_and_read_input'(B, VarList) :-
|
||||||
|
|||||||
Reference in New Issue
Block a user