📄 formateur.c
字号:
/**********************************************************************************//* *//* Copyright (c) 2003, Hangouet Samuel, Mouton Louis-Marie all rights reserved *//* *//* This file is part of gasm. *//* *//* gasm is free software; you can redistribute it and/or modify *//* it under the terms of the GNU General Public License as published by *//* the Free Software Foundation; either version 2 of the License, or *//* (at your option) any later version. *//* *//* gasm is distributed in the hope that it will be useful, *//* but WITHOUT ANY WARRANTY; without even the implied warranty of *//* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *//* GNU General Public License for more details. *//* *//* You should have received a copy of the GNU General Public License *//* along with gasm; if not, write to the Free Software *//* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *//* *//**********************************************************************************//* If you encountered any problem, please contact : *//* *//* lmouton@enserg.fr *//* shangoue@enserg.fr *//* */#include "formateur.h"/* Autres modules utilises */#include <debogueur.h>#include <dialogue.h>/* Modules de la bibliotheque standard */#include <stdlib.h>#include <stdio.h>#include <string.h>#include <ctype.h>/*********************************************************************************************//* COMPOSITION DES ENSEMBLES DE CARACTERES *//* Tout autre caractere rencontre dans la source sera inconnu et renverra une erreur lors de *//* sa lecture. *//*********************************************************************************************//* D塮inition de constantes pour la taille de chaque ensemble existant. */int taille_ensemble[NBR_ENS] = {taille_lettre, taille_chiffre, taille_prefixe, taille_sep_explicite, taille_sep_invisible, taille_commentaire};/* D塮inition des ensembles */int ens_lettre[taille_lettre] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '_', '.', '?', '$' };int ens_chiffre[taille_chiffre] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'a', 'b', 'c', 'd', 'e', 'f' };int ens_prefixe[taille_prefixe] = { '@', '%', '&', '+', '-', '\'' };int ens_sep_explicite[taille_sep_explicite] = { ACF, ACO, NL, DP, PF, PO, PS, MS, DIR, VIR, EOF };int ens_sep_invisible[taille_sep_invisible] = { '\t', ' ', '\r' };int ens_commentaire[taille_commentaire] = { ';', '\n' };/* D塮inition du tableau regroupant tous les ensembles qui est export
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -