mirror of
https://github.com/ksherlock/merlin-utils.git
synced 2024-12-21 05:30:00 +00:00
add SEG command (does nothing, yet)
This commit is contained in:
parent
50822a7dea
commit
b6e397b959
6
link.cpp
6
link.cpp
@ -816,6 +816,12 @@ void evaluate(label_t label, opcode_t opcode, const char *cursor) {
|
||||
define(label, number_operand(cursor, local_symbol_table), LBL_GEQ);
|
||||
break;
|
||||
|
||||
case OP_SEG: {
|
||||
/* OMF object file linker - set the object file seg name */
|
||||
std::string name = label_operand(cursor);
|
||||
break;
|
||||
}
|
||||
|
||||
case OP_FAS:
|
||||
/* fast linker, only 1 file allowed */
|
||||
fas = true;
|
||||
|
@ -222,7 +222,7 @@ std::string path_operand(const char *YYCURSOR, int flags) {
|
||||
}
|
||||
|
||||
// don't allow leading quotes, eof, or comment chars
|
||||
. [^ \t]* {
|
||||
[^ \t\x00;*'"][^ \t\x00]* {
|
||||
rv = std::string(iter, YYCURSOR);
|
||||
goto exit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user