IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41142


Ignore:
Timestamp:
Nov 26, 2019, 1:08:59 PM (7 years ago)
Author:
eugene
Message:

allow <~ and ~> as bitshift operators; better reporting of dvomath errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20191011/Ohana/src/libohana/src/isolate_elements.c

    r40291 r41142  
    186186  if (!strncmp (c, "+",  1)) return (TRUE);
    187187  if (!strncmp (c, "-",  1)) return (TRUE);
    188   if (!strncmp (c, "&",  1)) return (TRUE);
    189   if (!strncmp (c, "|",  1)) return (TRUE);
    190 
    191   if (!strncmp (c, "<",  1)) return (TRUE);
    192   if (!strncmp (c, ">",  1)) return (TRUE);
    193188
    194189  if (!strncmp (c, "(",  1)) return (TRUE);
     
    203198  if (!strncmp (c, "<=", 2)) return (TRUE);
    204199  if (!strncmp (c, ">=", 2)) return (TRUE);
     200  if (!strncmp (c, "<~", 2)) return (TRUE);
     201  if (!strncmp (c, "~>", 2)) return (TRUE);
     202
     203  if (!strncmp (c, "<",  1)) return (TRUE);
     204  if (!strncmp (c, ">",  1)) return (TRUE);
     205  if (!strncmp (c, "&",  1)) return (TRUE);
     206  if (!strncmp (c, "|",  1)) return (TRUE);
    205207
    206208  return (FALSE);
     
    218220  if (!strncmp (c, "<=", 2)) return (TRUE);
    219221  if (!strncmp (c, ">=", 2)) return (TRUE);
     222  if (!strncmp (c, "<~", 2)) return (TRUE);
     223  if (!strncmp (c, "~>", 2)) return (TRUE);
    220224
    221225  return (FALSE);
Note: See TracChangeset for help on using the changeset viewer.