Skip to content

Commit 119e414

Browse files
committed
Fixed names
1 parent 2e55181 commit 119e414

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: asm/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ include_directories(
2121
# once instruction grammars are generated, initialize antlr generator chain
2222
antlr_target(
2323
IsaInstructionsLexer
24-
${asm_INSTRUCTION_LEXER}
24+
${asm_INSTRUCTIONS_LEXER}
2525
LEXER
2626
OUTPUT_DIRECTORY ${asm_GENERATED_DIR}
27-
DEPENDS generateInstructionsGrammar ${asm_GRAMMAR_SOURCES}
27+
DEPENDS generateInstructionsGrammar ${asm__INSTRUCTIONS_GRAMMAR_SOURCES}
2828
)
2929

3030
antlr_target(
@@ -39,7 +39,7 @@ antlr_target(
3939

4040
antlr_target(
4141
IsaInstructionsParser
42-
${asm_INSTRUCTION_PARSER}
42+
${asm_INSTRUCTIONS_PARSER}
4343
PARSER
4444
DEPENDS_ANTLR AsmLexer
4545
OUTPUT_DIRECTORY ${asm_GENERATED_DIR}

Diff for: asm/cmake/BootstrapIsa.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ macro(bootstrap_isa isaPathStr)
2525

2626

2727
add_custom_command(
28-
OUTPUT ${${isaName}_GENERATED_SOURCES} ${${isaName}_GRAMMAR_SOURCES}
28+
OUTPUT ${${isaName}_GENERATED_SOURCES} ${${isaName}_INSTRUCTIONS_GRAMMAR_SOURCES}
2929
COMMAND mkdir -p ${outputDir} && cd ${outputDir} && ${CMAKE_BINARY_DIR}/asm/isa-creator/bootstrapIsa ${isaPath}
3030
DEPENDS ${CMAKE_BINARY_DIR}/asm/isa-creator/bootstrapIsa ${isaPath})
3131

32-
add_custom_target(generateInstructionGrammar DEPENDS ${${isaName}_INSTRUCTIONS_GRAMMAR_SOURCES})
32+
add_custom_target(generateInstructionsGrammar DEPENDS ${${isaName}_INSTRUCTIONS_GRAMMAR_SOURCES})
3333

3434
set(${isaName}_GENERATED_DIR ${CMAKE_CURRENT_BINARY_DIR}/${outputDir})
3535
set(${isaName}_ISA_SOURCES ${${isaName}_GENERATED_SOURCES})

0 commit comments

Comments
 (0)