File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 7be8f0af0393dcdb077c2f6b1653836fd3fba235
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 71f8db5b629cc6f74cd2894ed55fdbab07f9581c
4
+ refs/heads/snap-stage3: 53543d2aa36608966acda7a49276d7746df8ea3b
5
5
refs/heads/try: 502e4c045236682e9728539dc0d2b3d0b237f55c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ SG = $(S)src/grammar/
13
13
B = $(CFG_BUILD_DIR ) /$(CFG_BUILD ) /stage2/
14
14
L = $(B ) lib/rustlib/$(CFG_BUILD ) /lib
15
15
LD = $(CFG_BUILD ) /stage2/lib/rustlib/$(CFG_BUILD ) /lib/
16
- RUSTC = $(B ) bin/rustc
16
+ RUSTC = $(STAGE2_T_ $( CFG_BUILD ) _H_ $( CFG_BUILD ) )
17
17
18
18
# Run the reference lexer against libsyntax and compare the tokens and spans.
19
19
# If "// ignore-lexer-test" is present in the file, it will be ignored.
@@ -37,19 +37,25 @@ $(BG)RustLexer.class: $(SG)RustLexer.g4
37
37
$(BG ) verify : $(SG ) verify.rs rustc-stage2-H-$(CFG_BUILD ) $(LD ) stamp.regex_macros $(LD ) stamp.rustc
38
38
$(Q )$(RUSTC ) -O --out-dir $(BG ) -L $(L ) $(SG ) verify.rs
39
39
40
- check-lexer : $(BG ) $(BG ) RustLexer.class $(BG ) verify
41
40
ifdef CFG_JAVAC
42
41
ifdef CFG_ANTLR4
43
42
ifdef CFG_GRUN
43
+ check-lexer : $(BG ) $(BG ) RustLexer.class $(BG ) verify
44
44
$(info Verifying libsyntax against the reference lexer ...)
45
45
$(Q )$(SG ) check.sh $(S ) " $( BG) " \
46
46
" $( CFG_GRUN) " " $( BG) verify" " $( BG) RustLexer.tokens"
47
47
else
48
48
$(info grun not available, skipping lexer test...)
49
+ check-lexer :
50
+
49
51
endif
50
52
else
51
53
$(info antlr4 not available, skipping lexer test...)
54
+ check-lexer :
55
+
52
56
endif
53
57
else
54
58
$(info javac not available, skipping lexer test...)
59
+ check-lexer :
60
+
55
61
endif
You can’t perform that action at this time.
0 commit comments