diff options
author | nijtmans <nijtmans@noemail.net> | 2010-02-21 20:09:36 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-02-21 20:09:36 (GMT) |
commit | eccf3d476a3d8e4fb20b67b0c47d231c86a6eaa0 (patch) | |
tree | 107091c0a01f164224f02d295ebb0a866b39c5d4 /generic/regc_lex.c | |
parent | 6b0073ad2f47146a50dfcfdb1cbfdd266dc5a615 (diff) | |
download | tcl-eccf3d476a3d8e4fb20b67b0c47d231c86a6eaa0.zip tcl-eccf3d476a3d8e4fb20b67b0c47d231c86a6eaa0.tar.gz tcl-eccf3d476a3d8e4fb20b67b0c47d231c86a6eaa0.tar.bz2 |
Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0
Some more tests, showing that the LONG implementation
was not quite correct too, and a fix for that.
Some more internal "const" additions
FossilOrigin-Name: 4a0630650d0b3a477b4fd01121b715e40d2201b7
Diffstat (limited to 'generic/regc_lex.c')
-rw-r--r-- | generic/regc_lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/regc_lex.c b/generic/regc_lex.c index 4be02c6..f3a46da 100644 --- a/generic/regc_lex.c +++ b/generic/regc_lex.c @@ -742,10 +742,10 @@ lexescape( struct vars *v) { chr c; - static chr alert[] = { + static const chr alert[] = { CHR('a'), CHR('l'), CHR('e'), CHR('r'), CHR('t') }; - static chr esc[] = { + static const chr esc[] = { CHR('E'), CHR('S'), CHR('C') }; const chr *save; @@ -1135,7 +1135,7 @@ newline(void) static const chr * ch(void) { - static chr chstr[] = { CHR('c'), CHR('h'), CHR('\0') }; + static const chr chstr[] = { CHR('c'), CHR('h'), CHR('\0') }; return chstr; } |