Skip to content

Commit d32ee11

Browse files
committed
Fix indentation error in atom() method
1 parent 90ae4f2 commit d32ee11

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

vibeprolog/parser.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -617,11 +617,11 @@ def _unescape_string(self, s):
617617
return s
618618

619619
def atom(self, items):
620-
atom_str = str(items[0])
621-
# Note: A single '.' is valid as an atom when used in expression context
622-
# (e.g., as an argument to a functor). The clause splitter already ensures
623-
# dots in parenthesized contexts are not treated as clause terminators.
624-
# Handle SPECIAL_ATOM (quoted atoms like ';', '|', etc.)
620+
atom_str = str(items[0])
621+
# Note: A single '.' is valid as an atom when used in expression context
622+
# (e.g., as an argument to a functor). The clause splitter already ensures
623+
# dots in parenthesized contexts are not treated as clause terminators.
624+
# Handle SPECIAL_ATOM (quoted atoms like ';', '|', etc.)
625625
if atom_str.startswith("'") and atom_str.endswith("'") and len(atom_str) >= 2:
626626
# Strip the quotes and handle escape sequences
627627
atom_str = atom_str[1:-1]

0 commit comments

Comments
 (0)