Instead of generating one single huge line of text, add newlines after
suitable commas to make it at least a manageable text file.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
If no $NASM is defined and no nasm path has been given on the command
line, default to "../nasm".
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This script can output more than just Emacs format these days; it is
already used to produce both Emacs and JSON output, and it seems
unlikely that we would want to create another script to output any
additional file formats.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Rename this script to reflect its function within the NASM tree. The
output file is still called nasmtok.el, however, as it reflects its
function within an Emacs environment.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
The definition of nasm-token-lists was double quoted: both the list
itself and the tokens inside were quoted, which is not the right
thing.
Remove the unnecessary inner quoting.
Reported-by: 8dcc <8dcc@github.com>
Fixes: https://github.com/netwide-assembler/nasm/issues/231
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
The automatic extraction procedure can only do so much. At some point
it is simpler to add explicit special case handling.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Move the editor help files (currently nasmtok.el) to the editors/
subdirectory in anticipation of having more such files.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>