Mercurial > hg > xemacs-beta
view netinstall/iniparse.h @ 5243:808131ba4a57
Print symbols with ratio-like names and the associated ratios distinctly.
src/ChangeLog addition:
2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
* print.c (print_symbol):
Escape any symbols that look like ratios, in the same way we do
symbols that look like floats or integers. Prevents confusion in
the Lisp reader.
* lread.c (isratio_string): Make this available even on builds
without HAVE_RATIO, so we can print symbols that look like ratios
with the appropriate escapes.
* lisp.h:
Make isratio_string available even if HAVE_RATIO is not defined.
tests/ChangeLog addition:
2010-08-15 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Test that symbols with names that look like ratios are printed
distinctly from the equivalent ratios.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 15 Aug 2010 13:29:10 +0100 |
parents | 3078fd1074e8 |
children |
line wrap: on
line source
#ifndef YYSTYPE #define YYSTYPE int #endif #define STRING 257 #define SETUP_TIMESTAMP 258 #define SETUP_VERSION 259 #define VERSION 260 #define INSTALL 261 #define SOURCE 262 #define SDESC 263 #define LDESC 264 #define TYPE 265 #define T_PREV 266 #define T_CURR 267 #define T_TEST 268 #define T_UNKNOWN 269 extern YYSTYPE yylval;