File: loaddata.h

package info (click to toggle)
intel2gas 1.3.3-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 460 kB
  • ctags: 128
  • sloc: cpp: 1,286; makefile: 71
file content (24 lines) | stat: -rw-r--r-- 768 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
    loaddata.h     parses syntax and list files
    Copyright (c) 1999 Mikko Tiihonen (mikko.tiihonen@hut.fi)
    This source code is licensed under the GNU LGPL
  
    Please refer to the file COPYING.LIB contained in the distribution for
    licensing conditions
*/

#include <stdio.h>

// Current line in file being read
extern int current_line;

/* Reads the next line from f. Converts tabs to whitespace.
 * Data is stored in global buffer tempstr */
extern void ReadNextLine(FILE *f, bool strip_comments = false);

/* Loads files in specified directory */
extern void LoadSyntaxis(const char *resource_path);
extern void LoadWordLists(const char *resource_path);

/* Deletes all varibles in syntax's scope */
extern void deleteVars(syntaxlist_t *syntaxlist);