Commit Graph

24 Commits

Author SHA1 Message Date
PatR
0e417f1ebe sys/share/{dgn,lev}_{lex,yacc}.c
This regenerates the scanner and parser files.  I'm checking them
into master only.  If they work for everyone using them, they can be
merged into 3.6.0.

dgn_yacc.c:  I reconstructed our 3.4.3 patch for byacc 1.9 (the original,
not the one used to create the set of files being replaced here) by
comparing dgn_yacc.c made with vanilla byacc and dgn_yacc.c from 3.4.3.
(Unlike lev_comp.l, dgn_comp.l has hardly changed at all.)  There's no
dynamic memory use in that version, so declarations for malloc and/or
realloc and/or inclusion of <stdlib.h> aren't an issue.  The fixed size
stack it uses is big enough for 'make update' to run to completion.

lev_yacc:  I built it with [modified] byacc to replace one built with
bison.  sys/share/lev_comp.h was from byacc, not bison, so something has
gotten screwed up recently.

*_lex.c:  I used the same version of flex (2.5.37) as the one used to
create the set being replaced, so build prospects are the same.  But I
used -L to suppress #line directives and my Makefile has an extra 'sed'
pass that strips trailing spaces, producing extra bands in the diff.

*_comp.h:  They're the same as far as git is concerned (ie, only the
file creation/modification dates changed), so there's no update.
2015-12-03 16:27:27 -08:00
Pasi Kallinen
94d6ebbfe8 Update precompiled lev_comp lex and yacc files
This time use "cd util && make dist" as what I was doing
previously wasn't enough.
2015-12-03 09:37:31 +02:00
Pasi Kallinen
c20638938e Update precompiled lev_comp lex and yacc files 2015-12-02 18:33:44 +02:00
Pasi Kallinen
b2ab8f2504 Update precompiled lev_comp lex and yacc files 2015-11-15 09:09:45 +02:00
Derek S. Ray
a65c568e49 New precompiled versions of these 2015-05-26 22:54:55 -04:00
Sean Hunt
1c081b1647 Remove stale version control lines. 2015-05-25 09:21:31 +09:00
Derek S. Ray
6d232df8ab update pre-built versions of these 2015-05-09 14:47:46 -04:00
Sean Hunt
97d6fade74 Reformat all C files.
I'll push a formatting guide at some point. There may still be
outstanding changes, but please feel free to resolve those as you arrive
a them.

To the best of my knowledge, there is no changes to the actual code
content, but the formatter does have the occasional bug. If you run into
an issue, please fix it!
2015-05-09 13:43:16 -04:00
karnov
2a907f894e Version number increment 2015-05-06 22:04:27 -04:00
Pasi Kallinen
c6e9838615 Update precompiled lex and yacc files 2015-04-10 19:45:04 +03:00
nhmall
660534389e a warning bout lc_error
lev_comp.l(310) : warning C4013: 'lc_error' undefined; assuming extern returning int
2015-04-05 09:26:01 -04:00
Pasi Kallinen
e554cba0ac Update precompiled lex/yacc files 2015-03-21 20:37:44 +02:00
Derek S. Ray
7f03ee4216 Changes for Win32; update precompiled files
Also fix Orctown probabilities; fixed support for snprintf;
update Win32 makefile to allow level compiler use

Conflicts:
	win/win32/levstuff.mak
2015-03-20 15:14:31 +02:00
nethack.rankin
394f27645a sync sys/share/{dgn,lev}_{lex,yacc}.c, take two (trunk only)
cvs admin -ko sys/share/*_*.c  to suppress $Date$ and $Revision$ expansion,
                               reverting to the text checked a few days ago.
cvs commit -f sys/share/*_*.c  to trigger this mail; you'll need cvs update
                               to get the actual text.
2009-05-11 22:53:51 +00:00
nethack.rankin
28a8f7d858 sync sys/share/{dgn,lev}_{lex,yacc}.c 2009-05-07 00:58:22 +00:00
nethack.rankin
2f1882b24f lex sync (trunk only)
Propagate recent util/*_comp.l changes to sys/share/*_lex.c.
2008-05-08 02:18:55 +00:00
nethack.allison
e9b022d579 housekeeping: mark trunk sources 3.5 (misc) 2005-01-02 17:21:18 +00:00
nethack.rankin
7ad89fbbdd lex update
This is a case where a one-line change to the scanner source produces
a large diff in the generated C code.
2003-10-23 06:30:43 +00:00
nethack.rankin
e835e2f420 lev_comp,dgn_comp vs CRLF style input
Allow the special level and dungeon compilers to handle input
files which have CR+LF delimited lines.  Apparently Cygwin doesn't
convert MSDOS style line ends into newlines the way stdio should
do for text I/O.  The resulting unexpected CR characters result in
syntax errors.

     And explicitly using '\n' on both the lex and yacc sides of
MAP processing allows removal of the old NEWLINE hack for Mac MPW.
It won't matter what numeric value that character escape sequence
has internally.
2002-03-28 01:37:39 +00:00
nethack.rankin
1f6484473f resync generated files 2002-02-05 22:12:41 +00:00
nethack.allison
742e1e8c90 3.3.2 to 3.4.0 2002-02-04 16:11:00 +00:00
nethack.rankin
daf7cda0ee generated lex output 2002-01-22 09:27:01 +00:00
nethack.rankin
fbcf710621 update lex output 2002-01-13 04:16:04 +00:00
jwalz
db70651cec *** empty log message *** 2002-01-05 21:05:57 +00:00