summaryrefslogtreecommitdiffstats
path: root/gcc/c-lex.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (yylex): Improve error message for bogus numbers.kenner1995-12-281-39/+10
| | | | | | | Consolidate duplicated code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10892 138bc75d-0d04-0410-961f-82ee72b054a4
* Call new dbxout functions when changing source files.ian1995-12-131-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10705 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kenner1995-06-151-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9959 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typos in comments.kenner1995-05-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9711 138bc75d-0d04-0410-961f-82ee72b054a4
* Move pragma interface support to c-pragma.hmeissner1995-04-181-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9410 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex, case !NOT_FLOAT): Remove previous change.kenner1995-03-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9110 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Add support for <: :> <% %> digraphs.kenner1995-02-211-2/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8982 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): For float, build constant in long double.kenner1995-02-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8980 138bc75d-0d04-0410-961f-82ee72b054a4
* (check_newline): Give warning if unrecognized data on #line.kenner1995-02-211-2/+18
| | | | | | | (yylex): Give error for unterminated string constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8976 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Do warn about floating point out of range ifwilson1994-11-211-13/+12
| | | | | | | | target floating-point format is IEEE. Use warning instead of pedwarn to avoid getting errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8538 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Reject imaginary numbers when pedantic.wilson1994-07-021-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7646 138bc75d-0d04-0410-961f-82ee72b054a4
* (check_newline): Avoid unreachable statement when HANDLE_SYSV_PRAGMAkenner1994-04-201-1/+2
| | | | | | | defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7092 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): If FP value is NaN, use value of zero.kenner1994-04-181-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7071 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Turn off overflow flag when fixing up large traditional hexkenner1994-04-161-0/+2
| | | | | | | constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7050 138bc75d-0d04-0410-961f-82ee72b054a4
* Delete gperf-generated source from here.kenner1994-03-041-184/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6694 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): Initialize FIRSTDIG.kenner1994-02-271-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6638 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): When reading malformed floating point constant,wilson1993-12-101-1/+7
| | | | | | | | avoid printing error more than once, and avoid passing malformed number to subsequent atof call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6201 138bc75d-0d04-0410-961f-82ee72b054a4
* (ignore_escape_flag): Remove var.eggert1993-09-291-8/+2
| | | | | | | | (check_newline, yylex): Do not ignore escapes when reading file names, because escapes are the only way to represent file names containing '"'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5528 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Handle i together with f or l in float constant.rms1993-09-281-39/+78
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5501 138bc75d-0d04-0410-961f-82ee72b054a4
* Include ctype.h.rms1993-06-261-2/+2
| | | | | | | (isalnum, isdigit): Macros deleted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4744 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): Don't complain for \% unless pedantic.rms1993-05-261-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4575 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Avoid invalid shift for erroneous empty char const.rms1993-05-011-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4292 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Don't use unsigned comparison to also check for < 0; do itkenner1993-04-281-1/+1
| | | | | | | explicitly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4257 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Don't warn about floating point out of range if targetkenner1993-04-251-5/+9
| | | | | | | floating-point format is IEEE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4213 138bc75d-0d04-0410-961f-82ee72b054a4
* (forget_protocol_qualifiers): Cast enums to int before comparing.kenner1993-04-241-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4211 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***wood1993-04-091-120/+208
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4068 138bc75d-0d04-0410-961f-82ee72b054a4
* More of previous change.rms1993-04-091-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4060 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Use MAP_CHARACTER if it's defined.rms1993-04-091-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4059 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Convert real decimal constants directlyrms1993-03-311-18/+30
| | | | | | | | | to the precision specified by the letter at the end of the number. Pass mode arg to REAL_VALUE_ATOF to specify precision. Move the "out of range of double" error check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3936 138bc75d-0d04-0410-961f-82ee72b054a4
* Updated for recent change in c-parse.gperf.rms1993-03-281-58/+67
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3897 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Copy the string value we get from __FUNCTION__.rms1993-03-201-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3798 138bc75d-0d04-0410-961f-82ee72b054a4
* (init_lex): Initialize rid pointers for complex.rms1993-03-041-46/+81
| | | | | | | (yylex): Handle i or j in numeric constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3633 138bc75d-0d04-0410-961f-82ee72b054a4
* (init_lex): Set up ridpointers for `iterator'.rms1993-03-021-71/+64
| | | | | | | But maybe turn it off again. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3588 138bc75d-0d04-0410-961f-82ee72b054a4
* (init_lex): Maybe turn off `iterator' as keyword.rms1993-03-021-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3581 138bc75d-0d04-0410-961f-82ee72b054a4
* (check_newline): #line updates input_file_stack->name.rms1993-02-271-1/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3556 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Undo Feb 7 change.rms1993-02-181-7/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3487 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): For wide char constant, use wchar_type_node.rms1993-02-121-5/+12
| | | | | | | Swallow any preprocessing number as a (possibly erroneous) number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3464 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): At eof, if binding levels not popped,rms1993-02-071-0/+7
| | | | | | | imagine some close-braces to pop them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3435 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Change warning msg when decimal const is unsigned.rms1993-01-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3172 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Don't allow @ in identifier outside of Objective C.rms1993-01-091-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3163 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): Support \e like \E. Warn only if -pedantic.rms1992-11-061-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2697 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): For floats, Use REAL_VALUES_LESS to distinguishrms1992-10-081-18/+4
| | | | | | | underflow from overflow. Delete special case for 0.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2363 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): No warning if digits in \x are all 0's.rms1992-10-041-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2318 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex, case '"'): Initialize arg pased to readescape.kenner1992-09-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2231 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): New arg ignore_ptr.rms1992-09-241-7/+11
| | | | | | | (yylex): Pass new arg, handle result that comes back. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2222 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Integer constant is unsigned for purposes ofrms1992-09-151-0/+1
| | | | | | | int_fits_type_p so that it compares huge constants properly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2127 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): Warn about integers so large that they are unsigned.rms1992-09-141-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2120 138bc75d-0d04-0410-961f-82ee72b054a4
* (yylex): If integer value overflows so highword is negative,rms1992-09-121-0/+2
| | | | | | | it needs unsigned long long. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2111 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): For \x, don't include leading 0's in count.rms1992-08-271-4/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1973 138bc75d-0d04-0410-961f-82ee72b054a4
* (readescape): DEL isn't printable.rms1992-08-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1971 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud