mirror of
https://github.com/TelegramMessenger/libprisma.git
synced 2026-11-18 20:23:45 +00:00
Fix highlight regressions.
This commit is contained in:
1 parent
ca59e6434e
commit
31a5d6fbbe
3 files changed
+198
-5
No files matched your search
@@ -47,6 +47,13 @@ jobs:
|
||||
g++ -std=c++17 -O2 -o tools/probe tools/probe.cpp -lboost_regex
|
||||
./tools/probe libprisma/grammars.dat tools/corpus.txt boost.txt
|
||||
|
||||
- name: Check Unicode highlighting and recursion
|
||||
run: |
|
||||
g++ -std=c++20 -O0 -g -Ilibprisma -o tools/check-unicode \
|
||||
tools/check-unicode.cpp libprisma/Highlight.cpp libprisma/LanguageTree.cpp \
|
||||
libprisma/SyntaxHighlighter.cpp libprisma/TokenList.cpp -lboost_regex
|
||||
./tools/check-unicode libprisma/grammars.dat
|
||||
|
||||
- name: Compare what the two engines matched
|
||||
run: |
|
||||
if ! diff -u boost.txt java.txt > engines.diff; then
|
||||
|
||||
Reference in new issue
Block a user