Fix a few details
This commit is contained in:
parent
0157e235e4
commit
f59b3efb9f
@ -6,7 +6,7 @@ import sys
|
||||
|
||||
import obj_pb2
|
||||
|
||||
GRAMMAR_FILE = '/home/paulmathieu/vhdl/bin/as.ebnf'
|
||||
GRAMMAR_FILE = '/home/paulmathieu/vhdl/tools/as.ebnf'
|
||||
|
||||
opcodes = {
|
||||
'nop' : lambda: '0000',
|
||||
|
@ -11,7 +11,7 @@ import lark
|
||||
|
||||
asmod = importlib.import_module("as")
|
||||
|
||||
GRAMMAR_FILE = '/home/paulmathieu/vhdl/bin/cc.ebnf'
|
||||
GRAMMAR_FILE = '/home/paulmathieu/vhdl/tools/cc.ebnf'
|
||||
CPP = ('cpp', '-P')
|
||||
|
||||
|
||||
@ -1002,7 +1002,6 @@ def larkparse(f, debug=False):
|
||||
|
||||
def parse_args():
|
||||
parser = argparse.ArgumentParser(description='Compile.')
|
||||
group = parser.add_mutually_exclusive_group()
|
||||
parser.add_argument('--debug', action='store_true',
|
||||
help='print the AST')
|
||||
parser.add_argument('--assembly', '-S', action='store_true',
|
||||
|
@ -4,7 +4,7 @@ import sys
|
||||
|
||||
import obj_pb2
|
||||
|
||||
CRT0_FILE = '/home/paulmathieu/vhdl/bin/crt0.o'
|
||||
CRT0_FILE = '/home/paulmathieu/vhdl/tools/crt0.o'
|
||||
|
||||
|
||||
def parse_objs(objs):
|
||||
|
Loading…
Reference in New Issue
Block a user