]> git.saurik.com Git - bison.git/commit - src/scan-skel.l
Equip the skeleton chain with location tracking, runtime trace,
authorAkim Demaille <akim@epita.fr>
Wed, 2 Jan 2002 14:56:12 +0000 (14:56 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 2 Jan 2002 14:56:12 +0000 (14:56 +0000)
commitaed7fd9b9736c68bf23bb42ab422baf1281acf32
treeb6a04310c617b70698cc4aeb7e8850a3a004f0d2
parent24fad99e2bb2bdb0d5bd62571a0be8d60b97e2f8
Equip the skeleton chain with location tracking, runtime trace,
pure parser and scanner.
* src/parse-skel.y: Request a pure parser, locations, and prefix
renaming.
(%union): Having several members with the same type does not help
type mismatches, simplify.
(YYPRINT, yyprint): New.
(yyerror): ``Rename'' (there is a #define yyerror skel_error) as...
(skel_error): this.
Handle locations.
* src/scan-skel.l: Adjust to these changes.
* src/skeleton.h (LOCATION_RESET, LOCATION_LINES, LOCATION_STEP)
(LOCATION_PRINT, skel_control_t): New.
ChangeLog
src/parse-skel.y
src/scan-skel.l
src/skeleton.h