From 742b600781f14da95176661ec3fb8a718cdfdb76 Mon Sep 17 00:00:00 2001 From: Ian Piumarta Date: Mon, 12 Jul 2021 18:59:46 +0900 Subject: [PATCH] semicolons are reproduced in output; remove bogus identifiers --- ccmeta-test.ref | 41 ++++++++++++++++++----------------------- ccmeta-test.txt | 11 +++-------- 2 files changed, 21 insertions(+), 31 deletions(-) diff --git a/ccmeta-test.ref b/ccmeta-test.ref index a22a147..31b5dad 100644 --- a/ccmeta-test.ref +++ b/ccmeta-test.ref @@ -1,30 +1,25 @@ - - - +long long int; +; +; // comment - +; /* Test Int */ -3 -52 -13 - +3; +52; +13; +; /* Test Float */ -13.700000 -42.000000 -1.000000 - +13.70; +42.0; +1e+0; +; /* Test Char */ -'salut' -'bonjour tout le monde' -'je m appelle Nathan et je suis né en 1998' -'enchanté !' - -/* Test id */ -identifier -newId -id_3 - +'salut'; +'bonjour tout le monde'; +'je m appelle Nathan et je suis né en 1998'; +'enchanté !'; +; /* multi * line * comment - */ \ No newline at end of file + */ diff --git a/ccmeta-test.txt b/ccmeta-test.txt index 6459219..31b5dad 100644 --- a/ccmeta-test.txt +++ b/ccmeta-test.txt @@ -1,4 +1,4 @@ -; +long long int; ; ; // comment @@ -9,7 +9,7 @@ 13; ; /* Test Float */ -13.7; +13.70; 42.0; 1e+0; ; @@ -19,12 +19,7 @@ 'je m appelle Nathan et je suis né en 1998'; 'enchanté !'; ; -/* Test id */ -identifier; -newId; -id_3; -; /* multi * line * comment - */ \ No newline at end of file + */