Mercurial > hg > octave-nkf
view liboctave/link-deps.mk @ 20799:e34692daf663
Extend parser to accept '_' in numbers.
* NEWS: Announce change.
* lex.ll: Define NUMBER to be a NUMREAL (real number) or NUMHEX (hex number).
Define NUMREAL to begin with a digit (D) followed by more digits or an '_'.
Define NUMHEX to begin with 0[xX], a hex digit (a-fA-F0-9), followed by '_' or
more hex digits.
Define EXPON to have a digit (D) followed by more digits or an '_'.
* lex.ll (octave_base_lexer::handle_number): Strip out any underscores before
processing number with sscanf.
* parser.tst: Add tests for new behavior.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 05 Oct 2015 14:05:58 -0700 |
parents | 82c94987abc6 |
children |
line wrap: on
line source
GNULIB_LINK_DEPS = \ $(COPYSIGNF_LIBM)\ $(COPYSIGN_LIBM)\ $(FLOORF_LIBM)\ $(FLOOR_LIBM)\ $(GETHOSTNAME_LIB)\ $(LIBSOCKET)\ $(LIB_NANOSLEEP)\ $(LIB_SELECT)\ $(LTLIBINTL)\ $(ROUNDF_LIBM)\ $(ROUND_LIBM)\ $(TRUNCF_LIBM)\ $(TRUNC_LIBM) LIBOCTAVE_LINK_DEPS = \ $(GNULIB_LINK_DEPS) \ $(CURL_LIBS) \ $(SPARSE_XLIBS) \ $(ARPACK_LIBS) \ $(QRUPDATE_LIBS) \ $(FFTW_XLIBS) \ $(LAPACK_LIBS) \ $(BLAS_LIBS) \ $(READLINE_LIBS) \ $(TERM_LIBS) \ $(LIBGLOB) \ $(PCRE_LIBS) \ $(DL_LIBS) \ $(PTHREAD_LIBS) \ $(FLIBS) \ $(LIBS) LIBOCTAVE_LINK_OPTS = \ $(CURL_LDFLAGS) \ $(SPARSE_XLDFLAGS) \ $(ARPACK_LDFLAGS) \ $(QRUPDATE_LDFLAGS) \ $(FFTW_XLDFLAGS)