]> git.mxchange.org Git - simgear.git/commit
Don't parse the strings "+" and "-" as numerical zeros. Also fix the
authorandy <andy>
Fri, 11 Mar 2005 19:07:06 +0000 (19:07 +0000)
committerandy <andy>
Fri, 11 Mar 2005 19:07:06 +0000 (19:07 +0000)
commitd2cbed151bde4f95769a036de6ea0404357f7dbf
treef58b2ac0c531b35e2db823b8c0d527334e8147ad
parentfc06ae58b221ce820930e915d1b18077344f47f0
Don't parse the strings "+" and "-" as numerical zeros.  Also fix the
code generation of constant objects to use real identity and not Nasal
equality, so (e.g.) the constants 1 (number) and "1.0" (string) do not
get turned into the same object in the generated code.
simgear/nasal/codegen.c
simgear/nasal/parse.h
simgear/nasal/string.c