clean:
find . -name '*.[oad]' -delete
find . \( -name '*.gcno' -o -name '*.gcda' \) -delete
- $(RM) pick tide xcpd term tests/libedit
+ $(RM) pick tide xcpd term tests/libedit hl-cpp
$(RM) $(TEST_BINS)
install: all
mkdir -p $(PREFIX)/bin
cp -f tide $(PREFIX)/bin
- cp -f tide-hl $(PREFIX)/bin
+ cp -f tide-hl.rb $(PREFIX)/bin
cp -f pick $(PREFIX)/bin
cp -f xcpd $(PREFIX)/bin
cp -f pickfile $(PREFIX)/bin
uninstall:
rm -f $(PREFIX)/bin/tide
- rm -f $(PREFIX)/bin/tide-hl
+ rm -f $(PREFIX)/bin/tide-hl.rb
rm -f $(PREFIX)/bin/pick
rm -f $(PREFIX)/bin/xcpd
rm -f $(PREFIX)/bin/pickfile
static int read_num(void);
void colors_init(char* path) {
- cmdspawn((char*[]){ "tide-hl", path, NULL }, &ChildIn, &ChildOut);
+ cmdspawn((char*[]){ "tide-hl.rb", path, NULL }, &ChildIn, &ChildOut);
}
SyntaxSpan* colors_scan(SyntaxSpan* spans, Buf* buf, size_t beg, size_t end) {
language "C" do
types = Set.new %w[
bool short int long unsigned signed char size_t
- void extern static inline struct typedef union
+ void extern static inline struct typedef union volatile
int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t
]