diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-03-20 00:08:36 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-03-31 00:42:01 +0200 |
commit | 0ecd70a2714c184b57aa92c6c061c0ee7b51df79 (patch) | |
tree | 5a2e0a1540777ff45fc966ae3034bc218a35ddab /module/srfi/srfi-14.scm | |
parent | bd7131d3adf60b98837bd8bc3711ec7cf9069569 (diff) | |
download | guile-0ecd70a2714c184b57aa92c6c061c0ee7b51df79.tar.gz |
Adapt ECMAScript parser and lexer to `(system base lalr)'.
* module/language/ecmascript/tokenize.scm: Use `make-lexical-token' and
related procedures instead of pairs as tokens passed to the parser.
Pass source location information in the form of `source-location'
objects.
* module/language/ecmascript/parse.scm (read-ecmascript,
read-ecmascript/1): Instantiate a new parser at each call.
(parse-ecmascript): Rename to...
(make-parser): ... this. Change `->' to `:' in the grammar syntax.
* module/language/ecmascript/parse-lalr.scm: Remove.
* module/Makefile.am (ECMASCRIPT_LANG_SOURCES): Remove
`language/ecmascript/parse-lalr.scm'.
Diffstat (limited to 'module/srfi/srfi-14.scm')
0 files changed, 0 insertions, 0 deletions