File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments